Select random rows in Wijmo Flex Grid

Posted by: AAl-ismail on 12 January 2021, 12:46 am EST

  • Posted 12 January 2021, 12:46 am EST

    Hi,

    Is there a way we can select multiple rows in Wijmo Flex grid randomly, like using the control keys and then perform operations using the selected rows data.

    Currently we are able to select the rows in sequential manner but not randomly.Kindly provide sample source code to fetch the same.

  • Posted 12 January 2021, 8:14 pm EST

    Hi,

    You may set the selectionMode of the FlexGrid to wijmo.grid.SelectionMode.ListBox. This selection mode will enable the non-continuous selection of rows.

    https://www.grapecity.com/wijmo/api/enums/wijmo_grid.selectionmode.html#listbox

    Regards,

    Ashwin

  • Posted 1 February 2021, 11:26 pm EST

    Hi,

    We tried with ListBox option for SelectionMode attribute but it still selects rows sequentially. Do we have to add something else along with it or have any other option for random selection. Please provide the sample code for these scenario.

    Thanks

  • Posted 2 February 2021, 6:29 pm EST

    Please refer to the demo link below:

    https://www.grapecity.com/wijmo/demos/Grid/Selection/Overview/purejs

    Set the SelectionMode to ListBox and try selecting random rows using Ctrl or Shift key.

    Let me know if this helps. If this does not help, then can you provide some code snippet or a video of the issue.

    ~regards

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels