Dennis_M
11-23-2021Cloud Apps
Table Widget Format Header Row
Hello, I'm new to the Beta Community and a Java novice. Can a member direct me to internal Sisense sources on how to format a table widget's column header row and selected table columns (background color, font attributes, etc.)? Working in Linux environment, thanks - Dennis
I tested this with version L2021.10.0.124 on Linux, but with a pivot table, now that I see more clearly you are using a normal table, try this
widget.on('domready', function(se, ev) { //change color of header cells var cols = $(".dataTable.no-footer tr th", element); cols.css("background", "cyan"); //change width of columns cols.css("width", "200px"); //center align cols.css("text-align", "center"); });