I use you Grid together with ASP. The users are able to add new Rows into the Grid. After saving to SQL-Server i use:
$(“#pakagegrid”).jqxGrid(‘updatebounddata’);
$(‘#pakagegrid’).jqxGrid(‘gotopage’, 1);
$(‘#pakagegrid’).jqxGrid(‘selectrow’,0);
so far so good all works as expected and very well. The problem at this point:
$(“#pakagegrid”).bind(‘rowselect’, function (event) {
var args = event.args;
var row = args.rowindex;
if (args.row != null)
{
setpackagedata(args.rowindex);
}
}); // end rowselect
The rowselect shows the user additional data. But it seems that:
$(‘#pakagegrid’).jqxGrid(‘selectrow’,0);
don’t fire the rowselect. So the selected row and the shown Data is different. Any ideas for an work around?
Best Regards,
U.Janke