public ColumnModel getColumnByFieldName ( String fieldName ) { for ( ColumnModel columnModel : columns ) if ( columnModel . getEntityField ( ) != null && columnModel . getEntityField ( ) . equalsIgnoreCase ( fieldName ) ) return columnModel ; return null ; }
Get ColumnModel by entity field name ignore case if not found return null