renderer

abstract var renderer: GridBodyRenderer?

Custom function for rendering the cell content. Receives three arguments:

  • root The cell content DOM element. Append your content to it.

  • column The <vaadin-grid-column> element.

  • model The object with the properties related with the rendered item, contains:

  • model.index The index of the item.

  • model.item The item.

  • model.expanded Sublevel toggle state.

  • model.level Level of the tree represented with a horizontal offset of the toggle button.

  • model.selected Selected state.

  • model.detailsOpened Details opened state.

  • model.hasChildren Whether the item has children.