• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4910: multi cell span not kept after edit.

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Extension EditTablePlugin Normal No Action Required   n/a  

Edit Form Data

Reported By:
Applies To:
Current State:
Waiting For:
Target Release:
Released In:


when I edit a table having some bold text spanning multiple columns, like in

some more text
value value value
| *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

some more text    
value value value
| *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

Summary multi cell span not kept after edit.
ReportedBy TWiki:Main.MarioFrasca
Codebase 4.0.5
SVN Range TWiki-4.3.0, Fri, 12 Oct 2007, build 15261
AppliesTo Extension
Component EditTablePlugin
Priority Normal
CurrentState No Action Required


TargetRelease n/a

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r4 - 2008-01-08 - KennethLavrsen
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2021 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback