uitable ColumnHeader background color

2 views (last 30 days)
Joaquin
Joaquin on 17 Sep 2013
Hi everyone, I'm customizing a gui with an uitable. I've managed to change the color of a single cell, rows, cell selection color, the big grey backgroun of the uitable, and the RowHeaders background color to change that I do this.
jtable = findjobj(handles.uitable1);
jtable.getComponent(4).getComponent(0).getTableHeader.setBackground(javax.swing.plaf.ColorUIResource( 0, 1, 0) )
I've tried similar things for the ColumnHeader Backgroun but whitout success. Can anyone tell me how to do this?
Thank you very much and sorry for my english.

Answers (0)

Categories

Find more on Migrate GUIDE Apps in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!