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
285
Check all checkboxes in grid
posted

I have a checkbox field in the grid. I want to do a "checkall/uncheck all". I implemented it but it is slow. Can you please help me? Is there a batch setCellValue?

Parents
No Data
Reply
  • 18204
    Offline posted

    Hello Salim Fayad,

    Thank you for posting in our forums!

    There is no batch setCellValue type of method.  Batch updating configuration is defined by the igGrid's autoCommit option.  I would like to know a little more about how slow this is performing for you.  Please answer the following questions for me so I may have a better understanding of the scenario.

    1. What browser and version are you experiencing this slowness on?
    2. How many rows do you have in the grid?
    3. What do you have the igGrid's autoCommit option set to?
    4. Are you using a remote datasource, or a local javascript datasource?
    5. What other options/features do you have enabled on the igGrid?
    6. Is the cause of the slowness coming from waiting on a response from the server for each time you call setCellValue or just from looping through each row on the client?

    Looking forward to hearing from you.

Children