New to Kendo UI for jQuery? Start a free 30-day trial
Access the Detail Grid Programmatically
Updated on Dec 10, 2025
Environment
| Product | Progress® Kendo UI® Grid for jQuery |
Description
I have a Grid with two pages, 10 rows each. Each master row has a details row (.k-detail-row). I want to export the data of the Grid with all the sorters that are applied. For the main columns I get the data by a json with length set to 20 and the grid.dataSource.sort() sorter. Then, I use kendo.data.Query to do the sorting. I access the Grid by using $("\#grid").data("kendoGrid") but the described approach only works for the main Grid while the data of the inner Grid is still unsorted.
How can I programmatically access the details row in a Grid?
Solution
To programmatically access a detail Grid and apply sorting to its dataSource, refer to this Dojo example.