rowDetailsRenderer

Custom function for rendering the content of the row details. Receives three arguments:

  • root The row details content DOM element. Append your content to it.

  • grid The <vaadin-grid> 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.level The number of the item's tree sublevel, starts from 0.

  • model.expanded True if the item's tree sublevel is expanded.

  • model.selected True if the item is selected.