columnsFilterState = new ColumnsFilter(extendedDataTable);
columnsSortState = new ColumnsSort(extendedDataTable);
}
public ExtendedDataTableState(String tableState) {
JSONMap json = null;
if ((tableState != null) && (tableState.length() > 0)) {
try {
json = new JSONMap(tableState);
} catch (JSONException e) {
e.printStackTrace();
}
}
if (json != null) {
columnsWidthState = new ColumnsWidth((JSONMap) json.get("columnsWidthState"));
columnsOrderState = new ColumnsOrder((JSONCollection) json.get("columnsOrderState"));
columnsFilterState = new ColumnsFilter((JSONMap) json.get("columnsFilterState"));
columnsSortState = new ColumnsSort((JSONMap) json.get("columnsSortState"));
}
}