info.setId(modelJS.getString("id"));
return info;
}
public static ColumnInfo createColumnInfo(JSONObject modelJS){
ColumnInfo info=new ColumnInfo();
info.setId(modelJS.getString("id"));
info.setHeader(modelJS.getString("header"));
info.setFieldIndex(modelJS.getString("fieldIndex"));
info.setSortOrder(modelJS.getString("sortOrder"));
info.setHidden(modelJS.getBoolean("hidden"));
info.setExportable(modelJS.getBoolean("exportable"));
info.setPrintable(modelJS.getBoolean("printable"));
return info;
}