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
765
check all checkbox
posted

Hi experts, 

I have a Lock column shows checkboxes and it's underlying datasource is of bool type. Is there a good way to add a checkbox at column header, and if I check that box, all checkboxes in that column should be checked? 

Option 2, if there is no such way. Is there a way to manually modify the datasource of iggrid, set the all lock to true via javascript, so that I can rebind the all checked datasource to grid again?  Does iggrid provide such kind of api to do that?

Parents
  • 15320
    Offline posted

    Hello srajagopal,

    I would suggest you to use igGrid Row Selectors feature in order to achieve "select all" functionality. Here is a jsFiddle link that demonstrates a sample with such functionality for your reference: http://jsfiddle.net/gwds7bh9/ If I can provide you with further assistance, please let me know.

    Regards,

    Tsanna

Reply Children