jQuery UI Widgets Forums Grid checkall option for columntype: 'checkbox' + dynamic grid

This topic contains 2 replies, has 2 voices, and was last updated by  antrax13 7 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • antrax13


    I have a question.

    Is there any easy way to implement check all option for columntype checkbox?

    I have a filter and after filter I would like to click on select all and it would select/unselect all checkboxes instead of clicking 100 times.


    Another question is that my grid might have 4 + X random columns so I need to get dynamicly my data & headers.

    In your example


    You have hardcoded datafields.

    datafields: [
                            { name: 'id', type: 'number' },
                            { name: 'name', type: 'string' },
                            { name: 'type', type: 'string' },
                            { name: 'calories', type: 'int' },
                            { name: 'totalfat', type: 'string' },
                            { name: 'protein', type: 'string' }

    is there any jsfiddle example where number of columns will vary depending on circumstances but use the same grid id?

    Peter Stoev

    Hi antrax13,

    You can have Boolean filter in the filter all which filters by True/False clicking on a checkbox from the filter row, but we do not have check all option and there is no place to put such as well in the UI.

    Best Regards,
    Peter Stoev

    jQWidgets Team


    Thanks Peter,

    This will not work unfortanetaly for me because I have in 1 grid 3 checkbox columns.

    But I will take the answer as no so I can think of other solution.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.