34
Views
9
Comments
Solved
[OutSystems Data Grid] flickering occurs when click the checkbox
outsystems-data-grid
Reactive icon
Forge asset by OutSystems
Application Type
Reactive

When autoRowHeights is set to true and a checkbox in the list is clicked, screen flickering occurs. Are there any solutions to this issue? 


best Regards.

ClickCheckBox.mp4
2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hi @oshima kosuke 

I was able to replicate it now once again, but not 100% of the time.
This seems to be something on Wijmo's Flexgrid library so there isn't much we can do as a workaround. 
We'll raise this to their support but since it doesn't impact any functionality and isn't reproducible all the time I imagine this will have a low priority.
For future notice refer to the task code ROU-10997 for release notes.

Best Regards,
GM

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

Hello @oshima kosuke,

To have the community helping please share an oml with your use case and what you have already tried to make it more collaborative and efficient.

Cheers,
GM

2021-07-14 09-27-33
Luís Cardoso

Hi @oshima kosuke 

Where did you define the autoRowHeights? 

I try to replicate it but can´t find it.


Thanks

2024-11-26 02-48-53
oshima kosuke

Hi @Luís Cardoso ,@Gonçalo Martins 

Thanks for the reply. 

i attached the OML file. 
(note that it is not a license-free version. I would appreciate it if you could also explain how to do this. )
We are also using the API (SetColumnWordWrap). It is necessary, so we cannot remove it. 

POC_DataGrid_v13.oml
2022-11-12 11-28-30
Gonçalo Martins
Staff

Hi @oshima kosuke 

Looking at your code, you're being redundant when setting autoRowHeights = true since you're already calling the client action SetColumnWordWrap with the input parameter DynamicHeight = True (the default) that already sets that same value. 

You also have the loading content on the wrong placeholder so it should be moved to the right one:

Once I changed this the flickering stopped happening!

Cheers,
GM

2024-11-26 02-48-53
oshima kosuke

Hi.Gonçalo Martins

Thank you very much for you reply 
I moved the Container from GridColumnsPlaceholder to Loading_Placeholder as you suggested, but the issue remains unchanged. Flickering does not occur when clicking areas other than the checkbox, but it does occur when clicking the checkbox.

POC_DataGrid_v14.oml
ClickCheckBox_2.zip
2022-11-12 11-28-30
Gonçalo Martins
Staff

@oshima kosuke have you removed the javascript node that was setting autoRowHeights = true
As I mentioned since you're already calling the client action SetColumnWordWrap with the input parameter DynamicHeight = True (the default) already sets that same value and was causing the flickering. At least I'm no longer able to reproduce it 

2024-11-26 02-48-53
oshima kosuke


Hi.Gonçalo Martins

Thank you very much for you reply 

I removed the javascript as you suggested, but the issue remains unchanged. 
if removed the  API (SetColumnWordWrap) ,flickering does not occur .
but it is necessary, so we cannot remove it. 

POC_DataGrid_v17.oml
2022-11-12 11-28-30
Gonçalo Martins
Staff
Solution

Hi @oshima kosuke 

I was able to replicate it now once again, but not 100% of the time.
This seems to be something on Wijmo's Flexgrid library so there isn't much we can do as a workaround. 
We'll raise this to their support but since it doesn't impact any functionality and isn't reproducible all the time I imagine this will have a low priority.
For future notice refer to the task code ROU-10997 for release notes.

Best Regards,
GM

2024-11-26 02-48-53
oshima kosuke

Hi @Goncal Martins

Thank you for your replay.

I understad what you means.

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