private static void createGridCellFilter ( final String [ ] columnOrder , final Grid grid , final Class dataType ) { if ( columnOrder != null ) { final GridCellFilter filter = new GridCellFilter ( grid , dataType ) ; for ( final String column : columnOrder ) { if ( grid . getColumn ( column ) != null ) { filter . setTextFilter ( column , true , true ) ; } } } }
Creates the grid cell filter .