Skip to Content
0
Former Member
Nov 24, 2003 at 09:26 AM

Cell Style in Table View Model

25 Views

Hi,

I want to highlight certain cells in my table. I am calling the setStyleForCell(int row, int col, TableCellStyle.MARKED) in my code. But I do not see the cells highlighted.(bold)

Following is my code snippet.

TableView table = new TableView("myTableView", model);

table.setStyleForCell(1,2,TableCellStyle.MARKED);

Should I be adding anything to the style editor? How can I control the style for particular cell(s) in a table.

Any help is highly appreciated.

Thanks

Lakshmi