jQWidgets Forums

Forum Replies Created

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

  • Centerbase
    Participant

    The code sample you provided, it seems to never go in the rowunselect function.

    That is exactly the bug/issue I am reporting. Visibly when you multiselect rows, with dragging the mouse, the rows are highlighted and rowselect is triggered. When you select a different range the previously selected range of rows are unselected (visibly) and they SHOULD trigger rowunselect method but it doesn’t.

    It is our client’s requirement to have both checkboxes and multiselect option available in their grids. Your suggestion may work if the user was just clicking on one row to toggle checkbox. But when dragging to multi select it will fail because the user will not drag on the previously select rows, he is dragging on a new range to select.


    Centerbase
    Participant

    Any updates on this issue?
    I am having the same issue.


    Centerbase
    Participant

    Hi Peter,

    Truth be told, I don’t see how Grouping and Paging is ever a viable combination (even if the whole dataset is loaded in memory). However, I am using Virtual Mode without paging (infinite scrolling). It seems to me that the way Virtual Mode and Grouping could be combined is with one main change to the code.

    If you add a function, similar to rendergridrows, called rendergroups (or something like that). It would pass the column IDs that the grid is currently grouping by and expect an array returned detailing the groups and their respective row counts. The main change to rendergrid rows would be that it would assume that the rows are sorted by each of the group columns in turn followed by the sort columns.

    Example: When rendergroups is called, I return Group A with 3 records, Group B with 4 records, and Group C with 2 records. Then when rendergridrows is called, row 0-2 would be in Group A, 3-6 in Group B, and 7-8 in Group C.

    Is this something that you guys have thought of implementing (or already have and I’m just not seeing it)? Does this seem viable to you?

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