If a user prepopulates a row, and there are spaces between the pipes, the
EditRowPlugin will right adjust instead of left adjust the text
For example:
%EDITTABLE{ headerrows="1" format="| textarea, 4x40 | select, 1,Foo,Boo,Goo | text, 25 | text, 25 | text, 25 |" }%
|*Decription*|*Part Number*|*WR server*|*Speedera*|*WR server*|
| | | | | |
Becomes:
%EDITTABLE{ headerrows="1" format="| textarea, 4x40 | select, 1,Foo,Boo,Goo | text, 25 | text, 25 | text, 25 |" }%
|*Decription*|*Part Number*|*WR server*|*Speedera*|*WR server*|
| Test test| Foo| Test| Test| Test|
Which makes the table look odd.
It should be left adjusted.
--
TWiki:Main/PaulineCheung
- 01 May 2008
What has happened here is that the user has defined a table cell using two spaces. There are four ways to interpret this:
- A table cell with no content which is left justified (two spaces at the end)
- A table cell with no content which is right justified (two spaces at the start)
- A table cell that is centred (space at the start and space at the end)
- An empty table cell
4 is consistent with
EditTablePlugin, so I guess it has to be that. Changed, ready for release.
--
CrawfordCurrie - 07 May 2008