This question is locked. New answers and comments are not allowed.
Hello,
I am doing a feasible study for using telerik in my customer's project. We have some complicated logic that the requires editing inside the master/detail grid.
However I may encounter a bug/issue
I am doing a feasible study for using telerik in my customer's project. We have some complicated logic that the requires editing inside the master/detail grid.
However I may encounter a bug/issue
- When I add the edit command in the grid (either in the master or detail), the master page row expansion was disabled. (I can't extend the master row and go to the detail grid anymore.)
- As long as I remove the edit command, the row expand start working immediately.
I attahced a screenshot that show the 2 page behavior.
One with edit command button without row expansion
One without edit command (I simply comment out the edit command column) but row expansion work just fine.
Thanks in advance for any suggestion,
David
Html.Telerik().Grid<CCF.Models.Employee>(Model) .Name("Employee") .Columns (columns => { columns.Bound(e => e.FirstName).Width(200); columns.Bound(e => e.HireDate).Width(200); columns.Bound(e => e.Title).Width(200); columns.Command(commands => { // commands.Edit(); // commands.Delete(); }).Title("Commands"); } ) .DetailView(view => view.Template(e => { Html.Telerik().Grid<CCF.Models.Order>(e.Orders) .Name("Orders_" + e.EmployeeID) .DataKeys(keys => keys.Add(o => o.OrderID)) .DataBinding(db => db.Server() .Select("Index", "Employee") .Insert("EmployeeInsert", "Employee") .Update("EmployeeUpdate", "Employee") .Delete("EmployeeDelete", "Employee")) .ToolBar(commands => commands.Insert()) .Columns (columns => { columns.Bound(o => o.OrderID).Width(200); columns.Bound(o => o.OrderDate).Width(200); columns.Bound(o => o.ShipAddress).Width(200); columns.Bound(o => o.Employee.FirstName).Width(200); columns.Command(commands => { //commands.Edit(); //commands.Delete(); }).Title("Commands"); } ) .Editable(editing => editing.Mode(GridEditMode.InLine)) .Pageable(p => p.PageSize(3)) .Sortable(s=>s.Enabled(true)) .Filterable(f=>f.Enabled(true)) .Render(); })) .ToolBar(commands => commands.Insert()) .DataKeys(keys => keys.Add(e => e.EmployeeID)) .DataBinding(db => db.Server() .Select("Index", "Employee") .Insert("EmployeeInsert", "Employee") .Update("EmployeeUpdate", "Employee") .Delete("EmployeeDelete", "Employee")) .Editable(editing => editing.Mode(GridEditMode.InLine)) .Pageable(p => { p.Enabled(true); p.PageSize(5); }) .Sortable(s => s.Enabled(true)) .Filterable(f => f.Enabled(true)) .Render();