Table Component Row styleclass dataprovider is reset

Hi All,

I am working with Servoy Extra Table component in NG Desktop client. I have come across an issue while setting rowStyleClassDataprovider. This property is working fine when screen is loaded and style is implemented.
As soon as a record with row style implemented is selected, it is updated to selectedRow styleclass and does not revert to row styleclass when unselected (another record is selected). This makes rowStyleclassDataprovider ineffective. If screen is loaded again, then style appears again.

Thing to note here is that Row style vary according to each record for e.g. record with progress ‘100%’ can be displayed as green, etc.

Any help shall be highly appreciated.

Thanks

Have you tried checking in the developer-tools (in the Menu “View” under “Toggle Developer Tools”) if the style is applied to the row?

You can check which styles are applied to the grid / row / cell and if something else overrides the style.

robert.edelmann:
Have you tried checking in the developer-tools (in the Menu “View” under “Toggle Developer Tools”) if the style is applied to the row?

You can check which styles are applied to the grid / row / cell and if something else overrides the style.

Yes, initially, it appears with correct style but as soon as record is selected its style is removed and normal table style gets applied.