WireBootstrap
HomeDocsBuySupport
  • Introduction
  • Overview
  • Getting Started
  • Installation
  • Connecting to Data
    • Data Connectors
      • SQL Data
      • Custom Web Services
      • Local Data
      • Other Sources
    • Data Sources
    • Discovery
    • Building a Data Connector
  • Working With Queries
    • Select Queries
      • Query Extensions
    • Stored Procedures
    • Custom Web Services
    • Executing Queries
    • ORM
  • Writing Data
  • Updates
  • Deletes
  • Working with DataTables
    • Introduction
    • Filter and Sort
    • Select and Calculate
    • Joins
    • Rows
    • Columns
  • Working with DataSets
  • Introduction
  • Executing Queries
  • Transforms
  • Writing Data
  • Data Events
  • Working with Components
    • Introduction
    • Encapsulation
    • Configuration
      • Data
      • Events
      • Observables
      • Validation
      • Display
      • Vendor
      • Custom
    • Component
    • Web Frameworks
    • Building a Component
      • Hello World
      • Data Events
      • DataSets
  • Working With Data Events
    • Introduction
    • Event Basics
    • Event Data
    • Event Actions
  • Working with Themes
    • Introduction
    • Sample Data
    • Libraries
    • Pages
    • Building a Theme Project
  • Utilities
    • Formatting
    • Expressions
    • Collections
    • Spinners
    • Copy and Merge
    • Validation
    • Loading Assets
    • Service Calls
    • Download Files
    • Browser Location
    • Types
    • Promise
  • Reference
    • wire
      • wire.Collection
      • wire.download
      • wire.validate
    • wire.data
      • wire.data.DataEvent
      • wire.data.DataModel
      • wire.data.DataPromise
      • wire.data.DataSet
      • wire.data.DataSource
      • wire.data.DataTable
        • Columns
        • Rows
      • wire.data.StoredProcedure
      • wire.data.TableQuery
    • wire.ui
      • wire.ui.Component
      • wire.ui.validate
Powered by GitBook
On this page
  • Properties
  • Methods

Was this helpful?

  1. Reference
  2. wire.data

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

Previouswire.data.DataPromiseNextwire.data.DataSource

Last updated 3 years ago

Was this helpful?

The or that is the query.

The object that is the data source.

Sets up the data set to support writing data to a data service. For details, visit .

Asynchronous call to execute the query against the data service defined in the data source. Returns a but does not add it to the update stack. This data set will not send out updates to the promise if it picks up changes. For details visit, .

Functions the same as execAsync except it adds the to the update stack. This data set will send out updates to the promise when it picks up changes. For details visit, .

Helper method for TypeScript defined as IWireDataTable. Returns the data inside the data set. This method assumes the data is a .

Writes an array of data to the data service using the configuration in the Write property. For details, visit .

For details and examples on data sets, visit .

Working with DataSets
wire.data.TableQuery
wire.data.StoredProcedure
wire.data.DataSource
Writing Data
DataPromise
Executing Queries
DataPromise
Executing Queries
wire.data.DataTable
Writing Data