File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
grid/detail-grid-excel-export/KendoUIMVC5/Views/Home Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 54
54
var deferred = $ .Deferred ();
55
55
56
56
// get the index of the master row
57
- var masterRowIndex = e .masterRow .index ();
57
+ var masterRowIndex = e .masterRow .index (" .k-master-row " );
58
58
59
59
// add the deferred to the list of promises
60
60
detailExportPromises .push (deferred);
106
106
// merge the detail export sheet rows with the master sheet rows
107
107
// loop backwards so the masterRowIndex doesn't need to be updated
108
108
for (var i = detailExports .length - 1 ; i >= 0 ; i-- ) {
109
- var masterRowIndex = Math . max ( detailExports[i].masterRowIndex , 1 ) ;
109
+ var masterRowIndex = detailExports[i].masterRowIndex + 1 ;
110
110
111
111
var sheet = detailExports[i].sheet ;
112
112
You can’t perform that action at this time.
0 commit comments