Item5714: EditRowPlugin confuses column numbering with other plugins

pencil
Priority: Normal
Current State: Closed
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: EditRowPlugin
Branches:
Reported By: TWiki:Main.PaulineCheung
Waiting For:
Last Change By: CrawfordCurrie
EditRowPlugin confuses column numbering with other plugins.

For example:
 %TABLE{initsort="1" sort="on"}%
%EDITTABLE{ header="on" format="|text|text|text|text|text|text|text|text|" headerrows="1" changerows="on" headerbg="#99CC00,  #99CC33" tableborder="4"}% 

Would not not produce the correct result, because the first column is the row of edit buttons. However, when you full edit, it looks proper, and when you preview, it looks correct. Which is confusing to some users, esp the preview part, which I filed in Item5416. Is there some way to get other plugins to ignore the first column of edit buttons, or at least play better with column specific actions. SpreadSheetPlugin is another example.

-- TWiki:Main/PaulineCheung - 18 Jun 2008

The only thing I can think of is to move the edit control to the end of the table rows. I did try putting the control inside the first cell, but that created horrendous formatting problems and would break the search anyway.

Confirmed.

-- CrawfordCurrie - 15 Feb 2009

It's not a perfect solution, but if requirejs is used, then you don't get a controls column, and the column numbering should be correct.

As such I'm marking this as done.

-- CrawfordCurrie - 14 Feb 2011

ItemTemplate edit

Summary EditRowPlugin confuses column numbering with other plugins
ReportedBy TWiki:Main.PaulineCheung
Codebase
SVN Range TWiki-5.0.0, Sun, 01 Jun 2008, build 16865
AppliesTo Extension
Component EditRowPlugin
Priority Normal
CurrentState Closed
WaitingFor
Checkins distro:deca32d52c2d
TargetRelease n/a
ReleasedIn n/a
Topic revision: r4 - 14 Feb 2011, CrawfordCurrie - This page was cached on 05 Dec 2016 - 09:36.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License