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.
 
                            
- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Dec 29, 2008{ ["cols"] = { { ["value"] = function(min, max) return math.random(min, max); }, ["args"] = { 1, 100, }, }, -- [1] Column 1 { ["value"] = "Row 1, Col 2", ["color"] = { ["r"] = 1.0, ["g"] = 1.0, ["b"] = 1.0, ["a"] = 1.0, }, -- Cell color }, -- [2] Column 2 }, }, -- [1] Row 1 { ["cols"] = { { ["value"] = "Row 2, Col 1", }, -- [1] Column 1 { ["value"] = "Row 2, Col 2", }, -- [2] Column 2 }, ["color"] = { ["r"] = 0.0, ["g"] = 1.0, ["b"] = 1.0, ["a"] = 1.0, }, -- Row color }, -- [2] Row 2} but its not working :(- 
            
                
                View User Profile
     
            
            
            
       
- 
            
                
                Send Message
     
            
            
            
       
Posted Sep 16, 2009I am not notified via subscription email of comments made on pages, please post all comments on the main page or forum.