Skip to Content
0
Aug 20, 2019 at 11:14 AM

how to apply css to sap.ui.table.Table cells

306 Views Last edit Aug 21, 2019 at 10:19 AM 2 rev

Hi All,

I would like to apply css to particular cells of sap ui table as below

ui-table.png

but I am able to access and apply css to only the content of cells using the below of line of code .....this.byId("idreviewTreeTable").getRows()[0].getCells()[4].addStyleClass("cellStyle").

Please help to achieve my requirement.

A sample piece code would help.

Regards,

Alagar

Attachments

ui-table.png (9.1 kB)