DGDataSource

Namespace: PP.Ui;

Inheritance hierarchy

Object

DGDataSource

Description

The DGDataSource class is used to work with table data source.

Syntax

PP.initClass(PP.Ui.DGDataSource, PP.Object, "DGDataSource", [PP.Ui.IDGDataSource]);

Constructor

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

Properties

  Property name Brief description
AdditionalParams The AdditionalParams property determines additional parameters to be added to request for getting table data in asynchronous mode.
Body The Body property determines parameters to be added to request for getting table data in asynchronous mode.
Data The Data property determines table data.
DefaultRowHeight The DefaultRowHeight property determines default row height.
IsAsync The IsAsync method determines whether data source is asynchronous.
Measures The Measures property determines table data source measures.
RowCount The RowCount property determines table row height.
Type The Type property determines type of AJAX query for loading data to table.
Url The Url property determines URL of AJAX query for loading data to table.

Methods

  Method name Brief description
loadMeasures The loadMeasures method loads measures to table.
loadRanges The loadRanges method is used to load table data series ranges.
saveChanges The saveChanges method saves changes in data source.

Events

   Event name Brief description
DataCleared The DataCleared event occurs after clearing table data.
MeasuresLoaded The MeasuresLoaded event occurs after loading measures to table.
MeasuresLoading The MeasuresLoading event occurs on loading measures to table.
RangesLoaded The RangesLoaded event occurs after loading table data series ranges.
RangesLoading The RangesLoading event occurs on loading data ranges to table.

Properties inherited from the class Object

  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.

Methods inherited from the class Object

  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:

PP.Ui