So I need some common spread sheet events added here. Like selecting rows, columns, and the entire sheet. The only way I see this possible is to use events and then make the selections. I would need to get access the to outer cells. For example this would be one way.
$(“#jqxgrid”).on(“rowclick”, function (event) {
var args = event.args;
var row = args.rowindex;
if (args.column == //null or -1 ? )
$(‘#jqxgrid’).jqxGrid(‘selectrow’, args.rowindex);
});
problem here is I can’t get access the the column? args.column is undefined. I dont want the row to get selected merely by clicking anywhere on the row, only the cell header click should do this. Also $(‘#jqxgrid’).jqxGrid(‘selectrow’, args.rowindex); does not seem to work, did I use that wrong?
also I get for events fired per one click, is it firing one for each row?
I just did a each on the events.args and there is a lot of data here not exposed like rightclick(bool) for example. How is one to learn about this if its not in the documentation?