Skip to Content
Jul 27, 2016 at 07:06 AM

Need help changing sap.ui.table.column's background color



I need to be able to select a column, the columnSelect event works but there is no visual indication to the user which column was selected. I wanted to changed the background color for that column to show it was selected.

sap.ui.table.column doesn't have the addStyleClass() method how would I go about doing this? My table is in an XML view and is not being dynamically created in JS.

Thank you.