Posted 25 April 2023, 6:56 pm EST
var grid = wijmo.Control.getControl('#itemsGrid');
I want to do something like:
grid.select(0) // Select first row.
Forums Home / Wijmo / General Discussion
Posted by: reidar.lange on 25 April 2023, 6:56 pm EST
Posted 25 April 2023, 6:56 pm EST
var grid = wijmo.Control.getControl('#itemsGrid');
I want to do something like:
grid.select(0) // Select first row.
Posted 26 April 2023, 6:19 pm EST
Hello,
As per our understanding, you want to select the entire row on calling grid.select(0), if so then you may set the selectionMode property of FlexGrid to “Row”. Please refer to the below API links for more information:
Demo: https://www.grapecity.com/wijmo/demos/Grid/Selection/Overview/purejs
API: https://www.grapecity.com/wijmo/api/classes/wijmo_grid.flexgrid.html#selectionmode
In case you have any other requirements then please provide us with more information so that we can assist you accordingly.
Regards