ParamQuery grid support forum
General Category => Help for ParamQuery Pro => Topic started by: flipo on March 07, 2018, 08:04:17 pm
-
How can I obtain the id of the selected row in a Treegrid without checkbox?
Till now I only find a for treeModel a render function but not a rowSelect:function(evt,ui){}?
At the of the treegrid constuction I have put
$('#tree_grid').pqGrid('option','selectionModel',{type:'row',mode:'single'} );
-
id of a selected row in grid or treegrid can be obtained either in rowSelect event or by use of grid.SelectRow() API
https://paramquery.com/pro/api#method-SelectRow
https://paramquery.com/pro/api#event-rowSelect