Skip to content

updateData()

Paul edited this page Jan 2, 2019 · 2 revisions

type Function

Updates the table data with the given data set. Dataset must be a uniform array of objects (ie [{'x' : 1, 'y' :1}, {'x' : 2, 'y' :2}] will work, where [{'x' : 1, 'y' :1}, {'x' : 2, 'b' :2}] will fail).

Syntax

updateData(data: Array<any>): void

Usage

dataTable.updateData([{'x' : 1, 'y' :1}, {'x' : 2, 'y' :2}])

Clone this wiki locally