jQWidgets Forums

jQuery UI Widgets Forums Grid Checkbox select all (only current page)

This topic contains 3 replies, has 2 voices, and was last updated by  Dimitar 10 years, 2 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Checkbox select all (only current page) #67726

    sadegh
    Participant

    Hi,

    I am using selectionmode: ‘checkbox’ in Grid. when I select all rows using checkbox in the header it selects the whole data, however I need the the current page only to be selected.
    Any suggestion?

    Regards,
    Sadegh

    Checkbox select all (only current page) #67727

    Dimitar
    Participant

    Hi Sadegh,

    The same matter is discussed in the following forum topic: http://www.jqwidgets.com/community/topic/select-all-checkbox-2/. Please check it out.

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

    Checkbox select all (only current page) #67745

    sadegh
    Participant

    Hi Dimitra,

    Thanks for your sample, I knew this sample, and there is another one similar but less code but same approach. However this only works with low data, if you set the table to 200 rows and like 20 columns then it will take 7 seconds in my case to select the checkboxes which is not acceptable.
    the selectionmode: ‘checkbox’ param is a good option if you can give support for it. I don’t have problem with event handler or any other things, everything works fine, the only problem is that it doesn’t select the current page. and there is also a bug, because when you select all, it select all indexes, but when you unselect them it unselects the the current page only.
    If someone can fix that would be very nice, I realy need that feature.

    Regards,
    Sadegh

    Checkbox select all (only current page) #67782

    Dimitar
    Participant

    Hi Sadegh,

    This is all we can offer on the matter, unfortunately. We could not reproduce the issue you report about selectionmode: 'checkbox': “when you select all, it select all indexes, but when you unselect them it unselects the the current page only”. Please make sure you are using the latest version of jQWidgets (3.7.1).

    Best Regards,
    Dimitar

    jQWidgets team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.