private static void setColumnConverters ( final ListPropertyConverter [ ] collectionPropertyConverter , final Grid grid ) { if ( collectionPropertyConverter != null ) { for ( final ListPropertyConverter converter : collectionPropertyConverter ) { grid . removeColumn ( converter . getColumn ( ) ) ; final Column column = grid . addColumn ( converter ) ; column . setCaption ( WordUtils . capitalize ( converter . getColumn ( ) ) ) ; column . setId ( converter . getColumn ( ) ) ; } } }
Sets the column converters .