[Data Grid Reactive] Add and remove css classes
Forge component by OutSystems R&D

I added a class to a cell using AddCellCssClass based on a certain client action and every thing is working just fine, the problem arises when I want to remove this css class.

To remove css class I used RemoveAllCssClassesFromCell, it didn't work and the previously added css class hasn't been removed.

Does anyone know what the problem is?

Hi @Mohannad Bayoumi ,

do you have a sample espace? so we can check the problem.


Regards,

Luis Oliveira.

Here is the oml. 

I was able to remove the CSS from specific cell but only when I used RemoveClass and then RemoveAllCssClassesFromCell. I have no clue why this happened.

TestCss.oml

Hi @Mohannad Bayoumi ,

I was able to replicate it. I think that should be a bug in the component because if I perform an action to add/remove row CSS class, the cell CSS appears or disappears. Maybe contact the team and you can use my gif to explain to them.


Regards,

Luis Oliveira

recording10.gif

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