Method Summary |
|
public void | addListener(int eventType, Listener listener) Adds a listener bound by the given event type. |
public LoadConfig | getLastConfig() Returns the last load config. |
public boolean | getRemoteSort() Returns true if remote sorting is enabled. |
public int | getSortDir() Returns the current sort direction. |
public String | getSortField() Returns the current sort field. |
public int | getTotalLength() Returns the total number of records which may not equal the local elements
when using paging. |
public void | load(LoadConfig config) Loads the data using the specified configuation. |
public void | reload() Reloads using the last load config. |
public void | removeListener(int eventType, Listener listener) Removes a listener. |
public void | setSortDir(int dir) Sets the current sort dir. |
public void | setSortField(String field) Sets the current sort field. |
public void | sort(String sortField, int sortDir) Sorts the elements. |