BoldSignEasily embed eSignatures in your .NET applications. Free sandbox with native SDK available.
<EjsTreeGrid ID="checklist" @ref="_treeGrid" Toolbar="@Toolbar" IdMapping="Id" ParentIdMapping="ParentId" DataSource="Checklist" TreeColumnIndex="1" Width="100%">
<TreeGridEvents RowDataBound="rowdataBound" TValue="ChecklistModel"></TreeGridEvents>
<TreeGridColumns>
---------------------
</TreeGridColumns>
</EjsTreeGrid>
---------------------------------------
private void rowdataBound(Syncfusion.EJ2.Blazor.Grids.RowDataBoundEventArgs<ChecklistModel> args)
{
if (args.Data.Id == 278)
{
args.Row.SetAttribute("style", "background-color:#336c12");
}
} |
<style>
.e-icons.e-treegridcollapse::before {
content: '\e913' !important
}
.e-icons.e-treegridexpand::before {
content: '\e913' !important
}
</style> |