com.extjs.gxt.ui.client.widget.grid
Class GridViewConfig

java.lang.Object
  extended by com.extjs.gxt.ui.client.widget.grid.GridViewConfig

public class GridViewConfig
extends java.lang.Object

The GridViewConfig is used to return a CSS style name for rows in a Grid. See GridView.setViewConfig(GridViewConfig).


Constructor Summary
GridViewConfig()
           
 
Method Summary
 java.lang.String getRowStyle(ModelData model, int rowIndex, ListStore<ModelData> ds)
          Returns one to many CSS style names separated by spaces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridViewConfig

public GridViewConfig()
Method Detail

getRowStyle

public java.lang.String getRowStyle(ModelData model,
                                    int rowIndex,
                                    ListStore<ModelData> ds)
Returns one to many CSS style names separated by spaces.

Parameters:
model - the model for the row
rowIndex - the row index
ds - the data store
Returns:
the CSS style name(s) separated by spaces.