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
190
IGGrid Select All
posted

How can I hide the select all checkbox in the row selector header?

Parents
  • 17590
    Offline posted

    Hello rshouse,

    Thank you for posting in our community.

    By design we do not have an option to allow you to hide the header checkbox when there is a multiple selection and checkboxes enabled for row selectors. What I can suggest as workaround is getting reference to this checkbox and removing it from the DOM using jQuery remove method. This could be achieved in the rendered event of the grid. For example:

    [code]

    $("#grid").igGrid({

    ..

    rendered: function(evt, ui) {

    $("input[value='Hot Fuzz']").next().text("Hot Fuzz")

    }

    ..

    [/code]

    I created a small sample illustrating my suggestion and I am attaching it for your reference.

    Please have a look at my sample and let me know if you have any additional questions afterwards.

    igGridRemoveSelectAllCheckbox.zip
Reply Children
No Data