public ColumnModel getColumnByColName ( String colName ) { for ( ColumnModel columnModel : columns ) { if ( columnModel . getColumnName ( ) != null && columnModel . getColumnName ( ) . equalsIgnoreCase ( colName ) ) return columnModel ; } return null ; }
Get ColumnModel by columnName ignore case if not found return null