jQuery UI Widgets Forums Grid Grid Checkbox event select by page

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Grid Checkbox event select by page #98765

    dan123
    Participant

    Hi I have this grid with checkbox selection (I don’t want to use the custom checkbox column) cause some issues, i am trying to have the checkbox header to select by page. Whenever i want to change page, the checkbox header will change to default so user can select the next page then. The problem i am having is getting the paging information to select by the page size. Other thing is how to set the checkbox header to default when page is changed, and when user returns to a page that has already been checked it would show the checkbox as intermediate or checked.

    I have been looking at previous posts like this one below. But still doesn’t seem to work
    https://www.jqwidgets.com/community/topic/select-all-checkbox-2/

    Currently:
    I was able to create the checkbox event to atleast get page info but it seems to only unselect current page and selects the rest of the pages.
    Here is my jsfiddle:
    http://jsfiddle.net/drvo3mL0/58/

    • This topic was modified 2 years, 4 months ago by  dan123.
    Grid Checkbox event select by page #98842

    Hristo
    Participant

    Hello dan123,

    Could you clarify what is your issue with a mentioned topic and the approach?
    Is there any error message?
    I tested this example and it seems to work fine.

    Best Regards,
    Hristo Hristov

    jQWidgets team
    http://www.jqwidgets.com

    Grid Checkbox event select by page #98853

    dan123
    Participant

    So for instance, there were like 10 thousand records and tried to select all from all pages. It would slow down and freeze. I noticed your in built checkbox selection doesn’t have this problem even if there are that many records.

    So I was wonder if there is a workaround based on the built in version of the checkbox to select by page. Because i want to create like a dropdown to either select by page or select by all pages.

    • This reply was modified 2 years, 4 months ago by  dan123.
    Grid Checkbox event select by page #98885

    Hristo
    Participant

    Hello dan123,

    Unfortunately, there is no such option.
    You could try to use the virtual mode with this custom selection of the items, selection by pages.
    But I cannot guarantee it. Also, you should have one variable to collect information about the pages which are selected.

    Best Regards,
    Hristo Hristov

    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.