111
Views
3
Comments
Solved
[OutSystems Data Grid Web] How to select multiple rows with SHIFT and CTRL key and get its data at server side
outsystems-data-grid-web
Web icon
Forge asset by OutSystems
Application Type
Traditional Web

Hi,

I need to select multiple rows by shift click/control click on advance data grid and get the selected rows data at server side to preform operations on selected rows.

Could you please suggest solution for it.

2025-11-19 14-55-01
Pedro Oliveira
Solution

You can create a JS function that listens for the shift, ctrl and mouse click events.

When you detect Shift, you start adding rows one by when clicking on table, to a auxiliary array to store row id;

when you detect CTRL, you save the first row id you click, save the second row id you click and use a cycle to run all rows in between and store all rows id in auxiliary array.

You can than run your array and perform some action to get data.

2023-01-09 11-00-40
Dhanashri Jaiswal

Hi Pedro Oliveira,

I ended up writing a JS function for getting the row data at server side there were no direct ways available and it worked.


Thanks and Regards,

Dhanashri Jaiswal 

2025-03-14 15-09-04
Paulo Ribeiro

Can you send an OML with an example of this? I'm trying to do something similar

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.