404
Views
1
Comments
Solved
[OutSystems Data Grid] Get the Selected rows data in Outsystems DataGrid
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

Hi All,

         In this screen When a user Checks/Unchecks the selection box in the grid, I have to calculate the sum of Employee's salary data which is selected and display it in the text below. I cannot identify when the user interacts with the checkbox. How can I identify when the user select/deselect the check box.

If 'HasSelectedRows' can be used, when should I call this action to check and calculate the values?

  Thanks in advance!


2021-03-18 21-03-15
Benjith Sam
 
MVP
Solution

Hi kaarthick,

I addressed a similar use case a few days before in one of the posts: How to call client action upon clicking the built-in DataGrid checkbox?

For your use case, I referred to the same suggested solution with a slight modification. 

Demo Screen: Calculate__Total

Refer to the attached oml.

I hope this helps you!


Kind regards,

Benjith Sam

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