Namespace: PP.Prx.
PP.Mb.PPService
PP.Mb.TabSheetDataSource
PP.Prx.TableDataSource
The TableDataSource class implements the data source for the spreadsheet.
Data source for report table is defined using the following property:
PP.initClass(PP.Prx.TableDataSource, PP.Mb.TabSheetDataSource, "TableDataSource", PP.ITabSheetDataSource);
| Constructor name | Brief description | |
| TableDataSource | The TableDataSource constructor creates an instance of the TableDataSource class. |
| Method name | Brief description | |
| setAutoFilter | The setAutoFilter method sets autofilter value. |
| Property name | Brief description | |
| ObjectsAsImage | The ObjectsAsImage property determines whether objects on the table sheet are displayed as images. |
|
| Source | The Source property determines a data source for the spreadsheet. |
| Method name | Brief description | |
| getSelection | The getSelection method returns an object with description of the selected cell range. | |
| isLoaded | The isLoaded method returns whether table data is loaded. | |
| loadMeasures | The loadMeasures method loads spreadsheet structure. | |
| loadRanges | The loadRanges method sends a request to get a cell range to the service. | |
| The loadRangesfromJSON method loads data to the table from a JSON object. |
| Event name | Brief description | |
| MeasuresLoaded | The MeasuresLoaded event occurs after loading table structure. | |
| RangeLoaded | The RangeLoaded event occurs after loading table ranges. |
| Method name | Brief description | |
| addCallbackToLastRqt | The addCallbackToLastRqt adds a handler to the last request in the queue. | |
| beginSyncXHR | The beginSyncXHR method enables the mode of synchronous requests for an instance of the PPService class. | |
| clearRequests | The clearRequests method clears the list of queued requests and removes the current request. | |
| endSyncXHR | The endSyncXHR method disables the mode of synchronous requests for an instance of the PPService class. | |
| getCurrentRequest | The getCurrentRequest method returns the current service request. | |
| sendRequest | The sendRequest method sends a request to web service. |
| Event name | Brief description | |
| EndRequest | The EndRequest event occurs on finishing the repository connection. | |
| Error | The Error event occurs if an error occurs during repository connection. | |
| Executed | The Executed event occurs after executing a request to server. | |
| StartRequest | The StartRequest event occurs when the system starts executing a request to repository. |
| Property name | Brief description | |
| Data | The Data property associates a random object with this component. | |
| Id | The Id property sets component identifier. | |
| Settings | The Settings property sets the component parameters. |
| Method name | Brief description | |
| clone | The clone method creates a copy of object. It is not implemented in PP.Ui.Control. | |
| dispose | The dispose method deletes the component. | |
| getTypeName | The getTypeName method returns the name of the object type without the namespace, to which it belongs. |
See also: