com.sencha.gxt.widget.core.client.grid
Interface GridViewConfig<M>


public interface GridViewConfig<M>

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


Method Summary
 java.lang.String getColStyle(M model, ValueProvider<? super M,?> valueProvider, int rowIndex, int colIndex)
          Returns one to many CSS style names separated by spaces.
 java.lang.String getRowStyle(M model, int rowIndex)
          Returns one to many CSS style names separated by spaces.
 

Method Detail

getColStyle

java.lang.String getColStyle(M model,
                             ValueProvider<? super M,?> valueProvider,
                             int rowIndex,
                             int colIndex)
Returns one to many CSS style names separated by spaces.

Parameters:
model - the model for the row
valueProvider - the valueProvider for the col
rowIndex - the row index
colIndex - the row index
Returns:
the CSS style name(s) separated by spaces.

getRowStyle

java.lang.String getRowStyle(M model,
                             int rowIndex)
Returns one to many CSS style names separated by spaces.

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


Copyright © 2012. All Rights Reserved.