public class LazyHierarchicalGridDataModel extends HierarchicalGridDataModel implements LazyLoadable
Constructor and Description |
---|
LazyHierarchicalGridDataModel(DataModelCallbackHandler<Editable> handler)
Creates a new instnace of this class and defines the handler.
|
LazyHierarchicalGridDataModel(Object[][] data)
Initializes the model with the preloaded piece of data set.
|
Modifier and Type | Method and Description |
---|---|
void |
setTotalRowCount(int totalRowCount)
This method sets a total row count for a lazy loadable model.
|
addColumn, addColumn, addListener, addRow, addSubgridModel, clearRemovedRows, getColumnNames, getColumns, getCurrentPageNumber, getData, getDelegate, getDisplayedPages, getEndPage, getEndRow, getGridColumn, getHandler, getPageSize, getRemovedRows, getRow, getRowData, getRows, getSortColumn, getStartPage, getStartRow, getSubgridModel, getTotalColumnCount, getTotalPagesNumber, getTotalRowCount, isAscending, isEmpty, isExpanded, removeAll, removeColumn, removeColumn, removeListener, removeRow, setAscending, setAssociatedSubgrids, setColumNames, setCurrentPageNumber, setDelegate, setDisplayedPages, setExpanded, setExpandedCells, setHandler, setPageSize, setSortColumn, setSortColumn, update, update, updateColumn, updateColumn, updateRow
public LazyHierarchicalGridDataModel(Object[][] data)
data
- is a data set piece.public LazyHierarchicalGridDataModel(DataModelCallbackHandler<Editable> handler)
handler
- is a callback handler to be invoked on changes.public void setTotalRowCount(int totalRowCount)
setTotalRowCount
in interface LazyLoadable
totalRowCount
- is a total row count.Copyright © 2008–2013. All rights reserved.