wire.data.DataSet

Use the DataSet class to combine a data source and a query to create live, interactive connections to data services.

Properties

Name

Type

Default

Description

DataId

string

guid

The unique identifier for the data set. This can be used with data events to listen for changes to the data set.

Events

boolean

true

Determines whether the data set listens for data events. This is often set to false for data sets bound to filters.

Query

object

null

Source

object

null

Transform

function

null

The callback hook for any custom data processing after the data has come back from the data service but before its broadcast to consumers including components listening for changes.

Write

object

null

Methods

Name

Description

cast

Static method that casts an object with the same data set properties into an instance of the DataSet class.

data

Returns or sets the data inside the data set.

execAsync

execAsyncListen

refresh

Forces the data set to re-execute the query in the data set to bring down new data.

table

write

For details and examples on data sets, visit Working with DataSets.

Last updated