Optional
getCursor to be displayed when mouse hovers over cell containing data point
Optional
getGet a field's value at the specified row in a format suitable for editing.
This function only needs to be implemented if cells can be edited. See RevCellEditor for more information about editing data.
The core of the client does not need to know the type of the return value. getEditValue()
is called by the Cell Editor
associated with the cell.
A cell editor expects a certain type of view value and casts the result accordingly.
The field from which to get the value
The index of the row from which to get the value
Gets current count of rows in the associated subgrid at the server.
Optional
getGets a unique identifier for a row which is not affected by sorting, filtering or reordering.
This optional method needs to be implemented for selection and focus to be preserved across row sorting, filtering and reordering.
Subgrid row index.
Optional
getGets the current subgrid row index of a row from a row identifier.
This optional method does not need to be implemented for selection and focus to be preserved row across sorting, filtering and reordering however, if implemented, it will make restoring focus and selection more efficient.
Id previously obtained from getRowIdFromIndex.
Optional
getTitle text to be displayed when mouse hovers over cell containing data point
Optional
getGet all data from the server as a readonly array of RevDataServer.ViewRow.
If not implemented, all data can still obtain by retrieving one row at a time using getViewRow or one cell at a time using getViewValue.
Optional
getGet a row of data from the server.
If this method is implemented, it allows the client to retrieve an entire row of data from the server instead of having to
retrieve the value each cell in the row individually. Used by RevSubgridImplementation.getSingletonViewDataRow
.
Subgrid row index.
Get a field's value at the specified row in a format suitable for display.
The core of the client does not need to know the type of the return value. getViewValue()
is called by the Cell Painter
associated with the cell/subgrid.
The cell painter expects a certain type of view value and casts the result accordingly.
The field from which to get the value
The index of the row from which to get the value
The value of the field at the specified row.
Optional
setSet a cell's value given its column schema & row indexes and a new value.
If not implemented, the cell cannot be edited.
Subscribe to data notifications from the server.
An interface with callbacks used to notify the grid of changes to data.
Optional
unsubscribeUnsubscribe from data notifications.
Optional as it is not required when the client and server are closely bound together and destroyed at the same time.
A reference to the handler originally provided to subscribeDataNotifications.
Interface used by client to get data from a server or update values