[ANN] rGrid released.
Posted: Thu Mar 21, 2013 2:58 pm
Dear LiveCoders!
I'm proud to announce rGrid a spread sheet inspired grid control.
rGrid is open source with a commercial license available.
Main features:
• Professional level, high performance.
• Very customizable (for ex. text styles, colors, borders).
• Sorting fully featured
• Filtering fully featured
• Set ranges of values or properties.
• Use formulas
• Freeze rows and columns
• Click and Drag to hilite cells, rows, columns or a whole sheet.
• Click and Drag to change column widths and row heights.
• Consistent, readable syntax.
• Import .xlsx with companion product SpreadLib
• Additional controls (templates) easily inserted into cells and fully scriptable.
• No need to add any code to your stack.
• No need for “start using stack”.
• No extra stacks or templates created.
The basics:
Use button "Copy rGrid to Clipboard" in the rGridEngine, which copies a clean rGrid from card "Templates". Paste it into your stack. That’s all.
Click in cells and start typing (works for headers also).
Navigate through cells by Tab Return or Arrow Keys.
An rGrid can be thought of as using four new objects: Sheets, Rows, Columns and Cells.
Sheets, Rows and Columns can be referenced by ID or number.
Cells can be referenced by ID, number or in a spread sheet style.
Examples:
To work with ranges of cells:
Use colon (:) to work with ranges and semicolon (;) to separate single cells in a single line of code:
To insert a control into a cell:
Additional to the rGrid specific properties described in the rGrid Dictionary, you can also use LiveCode’s native properties where applicable. For example:
To update and render rGrid you send a command like this:
To clear the Grid from all data:
All feedback is most welcome!
Please download rGrid from here: http://www.tapirsoft.com
With my best regards
Mats Wilstrand
I'm proud to announce rGrid a spread sheet inspired grid control.
rGrid is open source with a commercial license available.
Main features:
• Professional level, high performance.
• Very customizable (for ex. text styles, colors, borders).
• Sorting fully featured
• Filtering fully featured
• Set ranges of values or properties.
• Use formulas
• Freeze rows and columns
• Click and Drag to hilite cells, rows, columns or a whole sheet.
• Click and Drag to change column widths and row heights.
• Consistent, readable syntax.
• Import .xlsx with companion product SpreadLib
• Additional controls (templates) easily inserted into cells and fully scriptable.
• No need to add any code to your stack.
• No need for “start using stack”.
• No extra stacks or templates created.
The basics:
Use button "Copy rGrid to Clipboard" in the rGridEngine, which copies a clean rGrid from card "Templates". Paste it into your stack. That’s all.
Click in cells and start typing (works for headers also).
Navigate through cells by Tab Return or Arrow Keys.
An rGrid can be thought of as using four new objects: Sheets, Rows, Columns and Cells.
Sheets, Rows and Columns can be referenced by ID or number.
Cells can be referenced by ID, number or in a spread sheet style.
Examples:
Code: Select all
set the '["backColor of cell A1"] of grp "rGrid" to "brown"
set the '["value of cell 1,1"] of grp "rGrid" to "Hello cell!"
get the '["htmlText of cell ID 1,1"] of grp "rGrid"
Code: Select all
set the '["value of cell A1 to B2"] of grp "rGrid" to "A1;A2;B1;B2"
Code: Select all
set the '["value of cell A1:C7;D12"] of grp "rGrid" to myList
Code: Select all
set the '["template of cell A1"] of grp "rGrid" to the name of btn "MyTemplate"
Code: Select all
set the '["backgroundColor of cell A1 to B2"] of grp "rGrid" to “green”
set the '["textStyle of row 1"] of grp "rGrid" to “bold”
Code: Select all
send "render" to grp "rGrid"
Code: Select all
send "clearGrid" to grp "rGrid"
Please download rGrid from here: http://www.tapirsoft.com
With my best regards
Mats Wilstrand