• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7700 for generic doc work for TWiki-6.0.2. Use View topic Item7703 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.

A very basic feature in tables: Multirow span does not work in Dakar.

It is a commonly used feature - we use it in 100s of topics - so I classified this one as a requirement.

Test case below. TablePlugin is installed.

Something Comment Default
OK1 OK2 OK3
1st column This is in 2nd column and is OK 3 column
Should be in 2nd column this should also be in 3rd
Should also be in 2nd column and this one in 3rd
New row 1st column Back to normal And here too

--TWiki:Main.KennethLavrsen

Methinks that this is a duplicate of Item1051. I made a mistake by setting that to "Waiting for feedback", so CC closed it after providing the feedback (thanks CC, btw). Sorry for that. But in my comment I have also suggested a patch for the problem - I'll just copy it for easier reference:

Index: twikiplugins/TablePlugin/lib/TWiki/Plugins/TablePlugin/Core.pm
===================================================================
--- twikiplugins/TablePlugin/lib/TWiki/Plugins/TablePlugin/Core.pm      (Revision 7647)
+++ twikiplugins/TablePlugin/lib/TWiki/Plugins/TablePlugin/Core.pm      (Arbeitskopie)
@@ -435,6 +435,7 @@
         foreach my $fcell ( @$row ) {
             $arrow = '';
             next if( $fcell->{type} eq 'X' ); # data was there so sort could work with col spanning
+            next if( $fcell->{type} eq 'Y' ); # skip this element, was rowspan above
             my $type = $fcell->{type};
             my $cell = $fcell->{text};
             my $attr = $fcell->{attrs} || {};
@@ -519,7 +520,6 @@
                     $cell = CGI::font({ color=>$color }, $cell)
                       unless $color =~ /^(|none)$/i;
                 }
-                $type = 'td';
             }
             my $fn = 'CGI::'.$type;
             no strict 'refs';
-- TWiki:Main.HaraldJoerg
SVN 7695 CC

ItemTemplate
Summary Multirow span in tables does not work
ReportedBy KennethLavrsen
Codebase

SVN Range Tue, 29 Nov 2005 build 7670
AppliesTo Engine
Component

Priority Urgent
CurrentState Closed
WaitingFor

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