Hi All Experts,
Good afternoon to all experts.
I recently implement a table pagination using jqxgrid with checkbox, I implement the listener by using codes below, and it works ok
$(“#jqxgrid”).bind(‘cellendedit’, function (event) {
var schoolCode = $(“#jqxgrid”).jqxGrid(‘getcellvalue’, event.args.rowindex,’schoolCode’);
if (event.args.value) {
addToList(schoolCode, event.args.rowindex);
//$(“#jqxgrid”).jqxGrid(‘selectrow’, event.args.rowindex);
}
else {
removeFromList(schoolCode);
//$(“#jqxgrid”).jqxGrid(‘unselectrow’, event.args.rowindex);
}
});
I’m also using the following property for your reference
$(“#jqxgrid”).jqxGrid(
{
width: width,
source: dataAdapter,
theme: theme,
//sortable: true,
autorowheight: true,
autoheight: true,
pageable: true,
autoheight: true,
altrows: true,
editable: true,
selectionmode: ‘none’,
columnsresize: true,
//columnsreorder: true,
columns: initColumns(data.d)
});
But when I was trying to uncheck it by customize method witht he follwoing method, it’s not working to check or uncheck by using selectrow or unselectrow
$(“#jqxgrid”).jqxGrid(‘selectrow’, rowIndex);
May I ask if anyone can help me on this?
Thank you so much and appreciate if you can guide me.