Access the Detail Grid Programmatically
|Product||Progress Kendo UI Grid|
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
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?
To programmatically access a detail Grid and apply sorting to its dataSource, refer to this Dojo example.