better data entry / tabular data
Reported by Gaspard Bucher | October 22nd, 2008 @ 06:31 PM | in 1.5
The problem with the actual DataEntry thing is that... you cannot have an arbitrary number of columns !
Possible solutions to this problem:
- use the text field as a json/hash/yaml list of values
- use another table to store entries (DataRows 1--* DataEntries)
- deal with tabular data as csv dyn attribute (one attribute = full table data)
- deal with tabular data as xhtml table embeded inside the text. Zazen parser seeing a ...would produce the ajax thing.
- use a special tag [table attr:d_foo/] [table node:34 attr:d_foo/] (d_foo contains csv data).
- use |34.d_foo| to show a table or |d_foo|
My favorite is 6.
But then what editor should we use ?
- http://www.dhtmlx.com/docs/produ... looks very good, see licence.
- http://www.smashingmagazine.com/... list of grid editors
Comments and changes to this ticket
-
Gaspard Bucher October 22nd, 2008 @ 06:57 PM
- Tag changed from enhancement, zazen to enhancement, up, zazen
http://www.millstream.com.au/vie... (tablekit) looks very interesting. It's quite simple to understand, it's based on prototype and it would require little work to add a button to add empty rows/columns.
The data would need to be addressed by [record_id, column_number]. This can be easily achieved by any of the solutions above.
If we use tableKIT, it could be nice to either use (6) with csv data.
We could even use (1) and (6) to have a table editor for data entries // zazen tables.
(1) could be really interesting since it lets the records link to multiple nodes. Using the text field as a list of values is not such a bad idea.
<r:show attr='value1'/> <r:show attr='value2'/> <r:show attr='value3'/>
-
Gaspard Bucher October 22nd, 2008 @ 09:43 PM
Simple sorting solution: http://www.kryogenix.org/code/br...
-
Gaspard Bucher October 23rd, 2008 @ 11:42 PM
(from [a60e834ec4e4fa906e26309fc3d382ec27be0df6]) Started to work on new table helper for zazen. Refs [#228] http://github.com/zena/zena/comm...
-
Gaspard Bucher October 23rd, 2008 @ 11:43 PM
(from [a6b9efca95e08ace90d6b69fd11302637f1c77d2]) In-place editing of tables works (basic tablekit functionality). Need to implement add/remove/move rows/columns. Refs [#228]. http://github.com/zena/zena/comm...
-
Gaspard Bucher October 23rd, 2008 @ 11:43 PM
- State changed from new to resolved
(from [7706f023fb7ebc928de8819d11af4d6d3c115789]) Finished implementing a simple table entry. Refs [#228 state:resolved]. http://github.com/zena/zena/comm...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Anyone knows how to use formatting here ?
Git repository: http://github.com/zena
Official website: http://zenadmin.org
People watching this ticket
Tags
Referenced by
- 228 better data entry / tabular data (from [a60e834ec4e4fa906e26309fc3d382ec27be0df6]) Started...
- 228 better data entry / tabular data (from [a6b9efca95e08ace90d6b69fd11302637f1c77d2]) In-plac...
- 228 better data entry / tabular data (from [7706f023fb7ebc928de8819d11af4d6d3c115789]) Finishe...