Question
Is it possible to set the column width while using
EditTablePlugin, the same way you can with
TablePlugin. I have an events calendar that needs to be editable, but it is breaking a column in a way I don't want it to. I have on column for the date which is already quite narrow, set at 12 and primarily just showing the day and month. So where I have 10 Feb, it is rendering the date column on two lines so it looks like
10
Feb
Any way to stop that?
EDIT TABLE
EDIT TABLE Date No Wrap
Environment
--
XochipalaValdez - 30 Jan 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
I found the answer in
EditTablePluginDev thanks to Peter Thoeny
Use a
%TABLE{}% directive, located above the
%EDITTABLE{}%. See
TablePlugin.
--
XochipalaValdez - 31 Jan 2007
I don't think this actually answers the question or issue. What I've experienced is that there is a default to Column Width based on the header. If you're using a header of |DATE| along with a full range of other columns that fill the pages expanse- It's going to automatically Word-wrap because your Date Format is "Feb 10" which has more characters than "DATE" thus it's going to wrap the text.
I'm still learning so the only option at that I know is to change "DATE" to "Event_Date" ... or anything longer than your Date Format. **See above...
--
RobertLong - 15 Mar 2007
Now what I would like to know is, "Is there a way to prevent a word-wrap in a particular column in wiki, which could help in this case as well? I know you can set percentages, but I have far too many columns. What I want is to be able to scroll Horizontally without having columns set it's own width. I have a column called "Assignment Page" and when I added a new column it Word-Wrapped the two words and shrunk even more the Description Field which makes the cell heights far to large. If I'm not clear I'll open up a new support question.
--
RobertLong - 15 Mar 2007
Use
TablePlugin to control the width of individual cells. Alternatively use a style sheet.
--
PeterThoeny - 08 May 2007