22
Views
2
Comments
Solved
[OutSystems Data Grid] Dynamically check the checkbox on any column update in datagrid
outsystems-data-grid
Reactive icon
Forge asset by OutSystems

Hi,

I am using the RowHeader as Entities.RowHeader.RowNumberAndCheckbox in the data grid. There are few columns in the data grid are set as editable. I want to have this feature that when someone directly update any field it should auto check the checkbox in the RowHeader for that Row.

I tried using SetRowAsSelected, grid.rows[i].isSelected and even setting .checked by js but nothing worked. By setting the .checked it temp. checks but after scroll it clears the selection. Please let me know if there is way to achieve this.


Thanks,

Reshma

UserImage.jpg
Reshma Naz
Solution

Ok, to anyone encountering the same issue, I got the resolution here for my issue. There is some issue in existing action SetRowAsSelected with checkboxes so they suggested work around until it is fixed: 

https://www.outsystems.com/forums/discussion/88157/outsystems-data-grid-setrowasselected-doesnt-work-with-rowcheckbox-as-rowheade/


2022-11-12 11-28-30
Gonçalo Martins
Staff

Hello @Reshma Naz 

To make this more efficient and collaborative for the community, please share a sample OML where that issue can be reproduced. That way, someone from the community can take a look without investing more time in implementing the use case.

Cheers,
GM

UserImage.jpg
Reshma Naz
Solution

Ok, to anyone encountering the same issue, I got the resolution here for my issue. There is some issue in existing action SetRowAsSelected with checkboxes so they suggested work around until it is fixed: 

https://www.outsystems.com/forums/discussion/88157/outsystems-data-grid-setrowasselected-doesnt-work-with-rowcheckbox-as-rowheade/


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