If the table is defined as having footer row(s),
EditTablePlugin should insert new rows before the footer rows when "Add rows" is invoked. Currently, "Add rows" appends the rows to the table.
--
TWiki:Main/DanDascalescu
- 24 Mar 2007
in svn MAIN, I have commited code that actually renders the header as a HTML
thead
and the footer as a HTML
tfot
section - so it should be easier for
EditTablePlugin to grab that, and insert its stuff into the
tbody
--
TWiki:Main.SvenDowideit
- 24 Mar 2007
It is a bug that a footer row is not respected when adding rows.
It is not an enhancement.
--
TWiki:Main.KennethLavrsen
- 11 May 2007
I have very recently had to give up using this plugin in combination with having a line that contains %CALC because adding a row goofs up the whole thing.
This really needs to get resolved now. And I see I am not alone with this problem. Raising to urgent. We need to get this plugin a bit more stable.
KJL
The plugin parses tables in TML format, not rendered HTML. The solution should be in reading the TABLE attributes for
headerrows
and
footerrows
.
--
TWiki:Main.ArthurClemens
- 17 Oct 2007
Below is a nice little test case from real life.
This table can be edited in Edit Table plugin but try to add a row and all goes bad. The plugin should really be aware of the footer rows defined by the TABLE tag. OR gets its own set of attributes so it knows.
With the new javascript "add row" the new row is added below the footer row. Confusing to the user.
You can move it up. But then you edit ONCE with TMCE in IE and TMCE eats a new line in front of EDITTABLE tag. When you then add a row using the javascript feature the table is destroyed. Yes another newline eating bug for Crawford. But this plugin should also be made robust to an edit table tag not being on its own line.
--
TWiki:Main.KennethLavrsen
- 18 Oct 2007
Thanks for the test example. One note: adding a row is not done by javascript.
--
TWiki:Main.ArthurClemens
- 18 Oct 2007
I am quite far now with implementing this. Just need to fix some failing tests and a couple of new ones.
--
TWiki:Main.ArthurClemens
- 29 Nov 2007
It works now. Unfortunately (low prio bug) TablePlugin does not handle more than 1 header row or footer row:
Item5050.
--
TWiki:Main.ArthurClemens
- 30 Nov 2007
Updating tests...
--
TWiki:Main.ArthurClemens
- 03 Dec 2007
The error log gives warnings when no headerrows or footerrows is set.
--
TWiki:Main.ArthurClemens
- 06 Dec 2007