2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
In TreeGrid, you can add new rows either by using Toolbar or by Context Menu. You can set the position by using the RowPosition property for a newly added row. Following are the values for the RowPosition property:
Refer to the following code example. MVC <body> @(Html.EJ().TreeGrid("Tree") //... .EditSettings(edit => { edit.AllowEditing(true); edit.AllowAdding(true); edit.AllowDeleting(true); edit.EditMode(TreeGridEditMode.CellEditing); edit.RowPosition(TreeGridRowPosition.AboveSelectedRow); }) .Datasource((System.Collections.IEnumerable)ViewBag.datasource) ) @(Html.EJ().ScriptManager()) </body> Sample Link: You can find the demo sample in the following link, Sample |
2X faster development
The ultimate ASP.NET MVC UI toolkit to boost your development speed.
This page will automatically be redirected to the sign-in page in 10 seconds.