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
185
Checkbox selection is not retaining when virtualization is enabled
posted

Hi,

 

I have a requirement where I will key in say some department Id in a text box and when I click a button it should open a popup with grid having list of department Ids and names.

While opening this modal we should also make sure if the department id keyed in Textbox is available then it should be checked and highlighted.

In my sample I am able to select that particular department however the checkbox is not getting checked.

Note: If I select any department ids which is available in the beginning of grid, it works fine, but if the department id matched to any row which is somewhere in middle or so it is not getting checked.

Thanks,

Veena

 

Parents
No Data
Reply
  • 16310
    Offline posted

    Hello Veena,

    When using virtualization only the table cells belonging to visible columns are present in the HTML DOM structure. So it is not possible to check a row which is in the middle of the grid and is not present in the DOM.

    In order to provide more insight and a possible implementation of this functionality, I will highly appreciate if you could send me your working sample or the code where you check for the id and apply checking and highlighting.

    I will be happy to assist you on that.

Children