Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1015
Selecting Checkbox Rows During OnRowsRendered
posted

Hi, I've been trying to select rows in an igGrid (version  13.1.20131.2143) when it loads, but they don't seem to be working quite right.  When I run the below code the rows and checkboxes are NOT selected but the last row with index 5 is highlighted without the checkbox selected.  If I page to the next page, then page back to the first page, the correct rows are selected and the check boxes are checked correctly.

	
var gridRowsRendered = function (evt, ui)
{
   $('#' + ui.owner.id()).igGridSelection('selectRow', 1);
   $('#' + ui.owner.id()).igGridSelection('selectRow', 3);
};

 

Here's what it looks like right after it initializes: