SetData

Definition

function ScrollingTable:SetData(data, isMinimalDataformat)

Arguments

data

This is the only argument that you have to pass to this function. The data for your table must live in this argument.
The structure of this argument is a little complex so I'll take it one level at a time.

isMinimalDataformat

Optional - Set to true if you want to use the new minimal dataset format. (See below)
If not specified, false, or nil it will default to the standard format.

Data Object

The data object is an array of row objects.

local data = {
    row1,
    row2,
    row3,
    etc...,
}

Standard Dataset Format

You can read about the standard dataset format here.

Minimal Dataset Format

You can read about the new minimal dataset format here.


Comments

  • To post a comment, please or register a new account.
Posts Quoted:
Reply
Clear All Quotes