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);
			}
		}
	}
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);
			}
		}
	}
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.

@param columnOrder
the column order
@param hideColumns
the hide columns
@param grid
the grid
Configure column orders and hidden fields .