Have any questions?

+44 (20) 3540 6226

hello@appshed.com

Data (Class)

AppShedData Class

Defined in: app.js:8163

Class definition for Data Object Defaults to the data on the current screen.

Constructor

AppShedData

(
  • idOrClassName
  • options
)

Defined in app.js:8163

 

Parameters:

  • idOrClassName ...Number

    Optional idOrClassName specifies which data to retrieve.

  • options ...String

    Optional options - an object. {isAppData: if true this is app data not screen data}.

Item Index

Methods

Methods

avg

(
  • variable
)
... Object

Defined in app.js:8192

Return the average of the values for variable

Parameters:

  • variable ...String

    If variable not passed in use the first column.

Returns:

... Object:

Returns null

clearData

() ... Object

Defined in app.js:8214

Clears the data

Returns:

... Object:

returns bool true if successful

count

(
  • variable
  • notEmpty
)
... Object

Defined in app.js:8230

...

Parameters:

  • variable ...String

    If variable not passed in use the first column.

  • notEmpty ...String

    Optional bool notEmpty specifies that only non-empty values should be counted.

Returns:

... Object:

Return the count of values for variable

  • Wednesday, 24 January 2018

appshed name white text 250

Copyright © 2017 AppShed Limited