TabSheetDataSource

Namespace: PP.Mb;

Inheritance hierarchy

Object

PPService

TabSheetDataSource

Description

The TabSheetDataSource class implements data source for a spreadsheet table.

Syntax

PP.initClass(PP.Mb.TabSheetDataSource, PP.Mb.PPService, "TabSheetDataSource", PP.Ui.ITabSheetDataSource);

Constructor

  Constructor name Brief description
TabSheetDataSource The TabSheetDataSource constructor creates an instance of the TabSheetDataSource class.

Properties

  Property name Brief description
IsAsync

The IsAsync property determines whether table data asynchronous loading is used.

ObjectsAsImage

The ObjectsAsImage property determines whether objects on the table sheet are displayed as images.

Source The Source property determines a data source for a spreadsheet.

Methods

  Method name Brief description
getSelection The getSelection method returns object with description of the selected table cell range.
getScrollState The getScrollState method returns scrollbar position on a page.
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.

loadRangesfromJSON

The loadRangesfromJSON method loads data to the table from a JSON object.

loadSyncData

The loadSyncData method sends to server a synchronous request to get a cell range.

search

The search method searches in table.

Events

   Event name Brief description
MeasuresLoaded The MeasuresLoaded event occurs after loading table structure.
RangeLoaded The RangeLoaded event occurs after loading table ranges.
SearchComplited The SearchComplited event occurs after data has been searched in a table.

Properties inherited from PPService class

  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.

Methods inherited from PPService class

  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.

Events inherited from the PPService class

  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.

Properties inherited from the class Object

  Property name Brief description

Id

The Id property determines a repository object identifier.

Methods inherited from the class Object

  Method name Brief description
clone The clone method creates an object copy.
dispose The dispose method deletes the component.
getHashCode The getHashCode method returns hash code of repository object.
getSettings The getSettings method returns repository object settings.
getTypeName The getTypeName method returns the name of the object type without the namespace, to which it belongs.
isEqual The isEqual method determines whether the specified object is equal to the current repository object.
isLive The isLive method determines validity of repository object.
removeAllEvents The removeAllEvents method removes all object event handlers by the specified context.
setSettings The setSettings method determines repository object settings.
defineProps The defineProps method creates get and set methods from name array for the specified class.
keys The keys method returns array of methods and properties names for the specified object.

See also:

PP