DynamicTableView
The DynamicTableView class is a CTRL class for managing a view on a data
table. It supports:
- notifications for value updates
- notifications when the set of visible rows changes
- pagination
- sorting
- filtering
Note:
DynamicTableView is not a UI component and does not display data in
a table widget. It handles data rows and updates to them. The class is intended for
scenarios where updating the displayed table is a costly operation, for example when
updates have to be sent over a network to a client. It is mainly useful for large
tables and client/server scenarios.The data to display is defined by either of:
- a list of columns to show
- a list of datapointelements or a query that define the rows of the table
An update callback is executed whenever the visible part of the table, which is defined by the pagination settings, changes. This can be caused by changes in the displayed values or by changes of pagination, sorting, or filter definitions. The data contained in the callback is optimized to only transmit changed data and not the complete visible set of rows.
