Why would the rowDoubleClick or rowClick event return a more robust object than the rowSelect?
For example rowDoubleClick
$('#tree01').on('rowDoubleClick', function (event){
var args = event.args;
var row = args.row;
var key = args.key;
var dataField = args.dataField;
var clickEvent = args.originalEvent;
});
While rowSelect returns a "thinner" object.
$('#tree01').on('rowSelect', function (event) {
var args = event.args;
var row = args.row;
var key = args.key;
});
As illustrated in the image below, the rowSelect excludes the parent object which includes records (its peers) and its parent.
My question is this...
How can I get the same object with a rowSelect as I do with rowClick? Can I programmatically force a rowClick via a rowSelect?
from jqxTreeGrid rowClick and rowDoubleClick vs rowSelect

No comments:
Post a Comment