on your documentation ( https://www.jqwidgets.com/jquery-widgets-documentation/documentation/jqxgrid/jquery-grid-cells-selection.htm ) you give this example to subscribe to cellselect event :�
$(“#jqxgrid”).on(‘cellselect’, function (event) {
var datafield = event.args.datafield;
var row = event.args.rowindex;
var columntext = $(“#jqxgrid”).jqxGrid(‘getcolumn’, event.args.datafield).text;
});
this code doesn’t work anymore, since v20 !!!
event.args is now an array, event.args.datafield doesn’t exist. (you have to transform it into : event.args[0].datafield )
but the code still works with cellclick instead of cellselect :�
$(“#jqxgrid”).on(‘cellclick‘, function (event) {
var datafield = event.args.datafield;
var row = event.args.rowindex;
var columntext = $(“#jqxgrid”).jqxGrid(‘getcolumn’, event.args.datafield).text;
});
here is a fiddle, with 2 grids : the click in a cell of grid1 is OK, the click in a cell of grid2 creates a console error.
https://jsfiddle.net/mogador/9zfj8dv1/
Is there a documentation, explaining which other functions does’nt work anymore since new version ?
thanx,
fabriceb