Column Template in ASP.NET Core Tree Grid Component
18 Nov 20181 minute to read
The column template has options to display custom element instead of a field value in the column.
NOTE
TreeGrid actions such as editing, filtering and sorting etc. will depend upon the column
field. If thefieldis not specified in the template column, the treegrid actions cannot be performed.
Using condition template
You can render the template elements based on condition.
In the following code, checkbox is rendered based on Approved field value.
NOTE
You can refer to our
ASP.NET Core Tree Gridfeature tour page for its groundbreaking feature representations. You can also explore our ASP.NET Core Tree Grid exampleASP.NET Core Tree Grid exampleto knows how to present and manipulate data.