column.setRenderer(new GridCellRenderer() {
public String render(Stock model, String property, ColumnData config, int rowIndex,
int colIndex, ListStorestore) {
config.style = "background-color: silver;";
return model.get(property);
}
});
Source:http://www.sencha.com/forum/showthread.php?49510-Change-background-color-in-GXT-grid-column
Malaya Merdeka - from Ash's vinyl collection
8 months ago
0 comments:
Post a Comment