lib-ScrollingTable

SetData / MinimalDatasetFormat

Data Object

The data object is an array of row objects.

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

Row

Each row object has the following structure:

local row = { 
    col1value,
    col2value,
    col3value,
    etc...,
}

colXvalue

Just like color objects, '''value''' can be a function or a value to display. If the type of '''value''' is a function, it is evaluated for display. It will be passed (data, cols, realrow, column, table) as arguments.

Example

local data = {
    { "Sachmo", 12, 4 },
    { "Josua", 8, 2 },
};

You must login to post a comment. Don't have an account? Register to get one!

Facts

Date created
Dec 19, 2009

Author