Function TParagraph.GridUpdate(mode:TWPGridUpdateModes; adapter:TWPDataSetAbstractAdapter) : Boolean
Unit: WPRTEDefs
Class: WPRTEDefs.TParagraph
Parameters
-
mode:TWPGridUpdateModes adapter:TWPDataSetAbstractAdapter
Returns
The type of the result value is Boolean.
Description
The adapter can be provided and will be used for initialization. Otherwise for updates the event OnGetGridAdapter is triggered.The template can be retrieved trough the SourceTemplate and the SourceTemplateIndex of each record.
note: The TWPDataSetAbstractAdapter can also provide styles for the newly created headers, rows and cells.