private static void configureColumnOrdersAndHiddenFields ( final String [ ] columnOrder , final String [ ] hideColumns , final Grid grid ) { if ( columnOrder != null ) { grid . setColumnOrder ( columnOrder ) ; } if ( hideColumns != null ) { for ( final String o : hideColumns ) { grid . removeColumn ( o ) ; } } }
Configure column orders and hidden fields .