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:


Parents
No Data
Reply
  • 7499
    posted

    Hello Dirq,

    I was not able to reproduce the issue when I tested with the latest service release of 13.1. I was able to see the selection with the checkboxes, I have attached the project I used to test this. Please test this project on your PC; whether or not it works correctly may help indicate the nature of this problem.

    Please let me know if  you have any questions.

     

    IgGrid_selection.zip
Children