when I edit a table having some bold text spanning multiple columns, like in
|
%EDITTABLE{}%
| *A* | *B* | *C* |
| *some more text* |||
| value | value | value |
|
the plugin recognizes the bold text as a (non editable) label, but does not make it span all three columns, showing input fields in the other two cells... after I save the table, I get
|
%EDITTABLE{}%
| *A* | *B* | *C* |
| *some more text* | | |
| value | value | value |
|
which is consistent with what I saw before click the save table button, but it is not quite what I wanted.
--
TWiki:Main/MarioFrasca - 30 Oct 2007
Yes, this still happens.
--
TWiki:Main.ArthurClemens - 17 Dec 2007
Solved with the update of
Item3890. The cells within the spans are expanded to allow changing the spans, but saved again as colspan.
--
TWiki:Main.ArthurClemens - 19 Dec 2007
Please note
Item5217
As first thought having a table created in TML using the merge cell feature of using vertical bars with no space between and keeping that after having edited with
EditTable seems like the right thing to do.
This feature ran in live installations for a week and very soon several users complained that their good old TWiki applications using tables were broken.
The problem is that quite many tables are used in a way where it is common to have cells with no data in them.
The idea of
EditTablePlugin is to give less geeky users a chance to safely fill out tables in TWiki like filling out a web form.
But with this feature the users now has to worry about leaving behind an empty space if they want to avoid having the empty cell merged with the cell to the left. This is actually quite confusing.
Worse is that you cannot see these space. So to check that they are there you have to put the cursor on the cell and arrow back and forth to see if something is there or try to select it with the mouse. It is really bad.
So this feature has been reverted. But the need is still there and it would be nice to be able to merge also when using
EditTablePlugin.
I propose defining an extension to the EDITCELL syntax which is backwards compatible which defines a cell as merged with the one to the left. And with the possibility to merge several cells.
For example %EDITCELL{span}%.
I would imagine that the
EditTablePlugin would work in two ways then.
In table editing mode it would make the cell invisible and maybe even allow the the cell to the left span.
In normal mode the variable would replace the entire cell content by nothing even removng any whitespace. Since
EditTablePlugin runs before the
TablePlugin it should mean that the rendering will work like normal and the cells would merge.
I will raise a Codev feature proposal topic to test this idea.
--
TWiki:Main.KennethLavrsen - 08 Jan 2008