PDA

View Full Version : Icons in table/grid



baskor
1 Sep 2008, 8:51 AM
Hi

When will it be possible to use icons in the header of a table column and in a table cell?

Baskor

PS Great framework by the way!

TheBuzzer
2 Sep 2008, 12:46 PM
if not this seems like a nice idea to add.

villemustonen
3 Sep 2008, 1:50 AM
You can use icons in columns at least in this way:


tableColumn.setRenderer(new CellRenderer() {
public String render(Component item, String property, Object value) {
return "<img src='icon.png'> ";
}
});