Tags:
create new tag
view all tags

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

Priority Item Description Date Who Status Comments Assignment Page
3 This is a Description of things and stuff Feb 10 TwikiMouse In Development Comments Here Assignment Page 1
4 This is also a Description of things and stuff and some other garb Feb 10 WikiRapStar In Development Comments Here because it's cool to Assignment Page 1

EDIT TABLE Date No Wrap

Priority Item Description Event_Date Who Status Comments Assignment Page
3 This is also a Description of things and stuff and some other garb Feb 10 TwikiMouse In Development Comments Here because it's cool to Assignment Page 1

Environment

TWiki version: TWikiRelease04x00x05
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS: Mac OS 10.4
Web Browser: Firefox
Categories: Plugins

-- XochipalaValdez - 30 Jan 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2007-05-08 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.