Hello Nagoor,
Here is how to subscribe to the click event of the Select/Unselect all checkbox:
$("#jqxgrid").jqxGrid(
{
width: 850,
height: 450,
source: dataAdapter,
sortable: true,
filterable: true,
ready: function () {
$("#jqxgrid .jqx-grid-header .jqx-checkbox-default").click(function () {
alert("Clicked Select/Unselect all");
});
},
selectionmode: 'checkbox',
altrows: true,
columns: [
{ text: 'Ship Name', datafield: 'ShipName', width: 250 },
{ text: 'Shipped Date', datafield: 'ShippedDate', width: 100, cellsformat: 'yyyy-MM-dd' },
{ text: 'Freight', datafield: 'Freight', width: 150, cellsformat: 'F2', cellsalign: 'right' },
{ text: 'Ship City', datafield: 'ShipCity', width: 150 },
{ text: 'Ship Country', datafield: 'ShipCountry' }
]
});
Best Regards,
Dimitar
jQWidgets team
http://www.jqwidgets.com/