RowTemplate
configurationThe template which renders rows. Be default renders a table row (<tr>) for every data source item.
There are a few important things to keep in mind when using
rowTemplate.
- The outermost HTML element in the template must be a table row (
<tr>). That table row must have theuiddata attribute set to${uid}. The grid uses theuiddata attribute to determine the data to which a table row is bound to.- If
rowTemplateis used alongside withdetailTemplate, the row (<tr>) element needs to have classk-master-row. The first<td>element of the row needs to have classk-hierarchy-cell. Check theRow Templates documentationfor more information.
rowTemplate
String|Function