The Tiki spreadsheet feature was added to Tiki in 2004 (version 1.9) using Tiki specific PHP and JavaScript code. Starting in Tiki5, the Tiki spreadsheet front-end was upgraded to use jquery.sheet for a much nicer interface, and more features. It worked well for years, and eventually, jQuery.sheet was renamed to WickedGrid. However, WickedGrid has been inactive for years so we need to switch to one of the many impressive modern alternatives. If you would like to help with this, we are looking for financial sponsors and/or volunteer developers. And later, testers. Please contact Marc Laporte.
When adding a new spreadsheet, the interface is as usual in Tiki5: you have the option to allow wiki parsing of wiki content inside the spreadsheet, plus defining some parent relationship with other spreadsheets:
When editing the spreadsheet, you can add more rows and columns, add content to them, move among the cells using the cursor keys, etc. If wiki parsing was enabled for the spreadsheet, then you can add any wiki syntax to the cell (including Wiki plugins!)
That wiki markup will be parsed when saved.
New sheets can be added when clickling at the plus sign ("+") at the bottom of the spreadsheet.
The url can be sensitive to numbers. Also, on initial
load, because the image doesn't really have a size, the
outerheight can be distorted. An easy way to offset this
is to have some text in front of it that's taller than the
image :).
55
values
MAX
values_as_array
"=MAX(F3:F13)"
200
-21
MIN
values_as_array
"=MIN(F3:F13)"
-100
N
numbers_as_array
"=N(F3)"
45
PI
"=PI()"
3.141592653589793
If you use "=PI" it will return the actual function as text, which is incorrect. Use "=PI()".
The url can be sensitive to numbers. Also, on initial
load, because the image doesn't really have a size, the
outerheight can be distorted. An easy way to offset this
is to have some text in front of it that's taller than the
image :).
55
values
MAX
values_as_array
"=MAX(F3:F13)"
200
-21
MIN
values_as_array
"=MIN(F3:F13)"
-100
N
numbers_as_array
"=N(F3)"
45
PI
"=PI()"
3.141592653589793
If you use "=PI" it will return the actual function as text, which is incorrect. Use "=PI()".
Done - through use of calculations engine function CELLREF (example: "=CELLREF('mycell')"), but you must first set the cell's name using jQuery.sheet.instancei.setCellRef()
Remember columns size
Added startup option "minSize: {rows: 15, cols: 5}" and fn "checkMinSize" that will automatically add columns/rows
Merge & unmerge cell
Better error reporting (ex.: if a formula has a loop)
Show a range of cells (or single cell). Default shows all. e.g. "D1:F3" (or "e14:e14")
This allows using in a wiki page the result from a spreadsheet cell! (that's going to be very powerful for dynamic reports in wiki pages, not only of graphs but also from specific results from calculations). Budgets for projects, shown in wiki pages dynamically, etc. Templates of invoices, etc.
Now handles multisheet
The project plugin "jsanalysis" was dropped due to license issues, but it has been migrated those same functions to a new library for sheet: "jquery.sheet.advancedfn". Thus, we can now use this in the future for more advanced functions used in sheet for those users who need them. List of functions included:
Since Tiki6 spreadsheets versions can be compared showing easily differences between any pair of versions: pink background for deleted content, green background when new content has been added, and prepending a "+" sign for the new text added, and a negative "-" sign for text deleted.
Example:
Sheet in edit mode, showing the new toolbar specific from the spreadsheet feature:
When you click in the "History" button below each spreadsheet when it is in view mode, you are shown a table to choose which versions you want to compare:
Then, after you select any pair, you can click on "compare", and you can see the differences between those two versions of the same spreadsheet:
Note that scrollbars will be locked together to ease navigation on them both synchronized on the same columns at the sme time with a single scrollbar movement.
New syntax for formulas
You can use some formulas like in OOo Calc or MS Excel, using slightly different syntax (because the JQ Spreadsheet is using Javascript for the formulas):