public void setDfltTableStylesStr(String classes) {
        dfltTableStyles.clear();
        if (classes == null || classes.isEmpty()) return;
        List<String> lst = StrUtils.split(classes, " ");
        for (int k = 0; k < lst.size(); k++) {
            String s = lst.get(k).trim();
            DataTableStyleClass cls;
            try {
                cls = DataTableStyleClass.valueOf(s);
                dfltTableStyles.add(cls);
            } catch (Exception ex) {
                continue;
            }
        }
    }
public void setDfltTableStylesStr ( String classes ) { dfltTableStyles . clear ( ) ; if ( classes == null || classes . isEmpty ( ) ) return ; List < String > lst = StrUtils . split ( classes , " " ) ; for ( int k = 0 ; k < lst . size ( ) ; k ++ ) { String s = lst . get ( k ) . trim ( ) ; DataTableStyleClass cls ; try { cls = DataTableStyleClass . valueOf ( s ) ; dfltTableStyles . add ( cls ) ; } catch ( Exception ex ) { continue ; } } }
Expected DataTableStyleClass enum values as space separated string.