Change background color in GXT grid column

column.setRenderer(new GridCellRenderer() {
public String render(Stock model, String property, ColumnData config, int rowIndex,
int colIndex, ListStore store) {
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

0 comments:

 
Copyright © peyotest