Hi Prashant,
Thanks for contacting Syncfusion support.
We are achieved your requirement “Select the first row while paging operation and grid Initialization” using actionComplete event. This event triggers after every Grid success event. We can check the condition of requestType and select the row using selectRows() method in the Grid.
Please refer to the Sample, code example and Help document,
Code example:
<Grid>
$("#Grid").ejGrid({
// the datasource "window.gridData" is referred from jsondata.min.js
dataSource:window.gridData,
allowPaging: true,
actionComplete:"actionComplete",
columns: [
. . .
]
});
});
<ActionComplete event>
function actionComplete(args){
if(args.requestType == "paging" || args.requestType == "refresh"){
this.selectRows(0); //Select the first row every page operation
} |
Regards,
Venkatesh Ayothiraman.