RSS

A Message Board, Guestbook, or Poll hosted for your website.
Iron Speed Technical Forums

Register Login New Posts Chat
 
Iron Speed > Forums > Using Iron Speed Designer V4.X > Table Column Width
 
Username:  
Password:  
 
   
 


Thread Tools Search This Thread 
Reply
 
Author Comment
 
BCTCGS
Registered: 07/18/06
Posts: 153

    07/10/07 at 07:24 AMReply with quote#1

Hello everyone,

This is something I've tried to accomplish numerous times, but never can seem to get it to work.

I have a show table that displays multiple columns. There is one column, specificially Roll No, that I want to increase the width of since IronSpeed always makes it two small forcing the values to appear on multiple lines.

The original html code for the column was...

Code:
<td class="table_cell">



And I changed it by overriding some of the style sheet parameters...
Code:
<td class="table_cell" style="width:300px" style="text-align: right;">


This was shown at http://www.ironspeed.com/Designer/4.3.0/WebHelp/Part_IV/Set_Table_Column_Width.htm but nothing ever seems to work.

Any help would be appreciated, since the way IronSpeed formats the tables sometimes looks horrible and there must be a way to override the column width.

Thanks,
Bryan


dingjing
Avatar / Picture

MVP Developer
Registered: 02/28/06
Posts: 1,464

    07/10/07 at 09:26 AMReply with quote#2

Code:
<td class="table_cell" width="300">

JimiJ
Avatar / Picture

MVP Developer
Registered: 03/31/05
Posts: 4,028

    07/10/07 at 07:08 PMReply with quote#3

If you need to set the width of the FieldControl itself then you must do it with pass-through attributes:

Name: Width
Value: 500    // or as required.

BTW: Field Control can push the Table column or cell to the set width.


HTH



__________________
Jaime Jegonia
JimiTron Software
JimiTron.Net | JimiTron.Com
lalithas
Registered: 10/02/09
Posts: 5

    10/23/09 at 08:55 AMReply with quote#4

I am trying to do exactly the same thing and the pass through attributes gives a an error saying width isn ot a valid attribute.

I have also tried changing the aspx code to have style="width:100px" neither one is helping.

Please let me know if you have any more suggestions.
Lalitha
afisher
Avatar / Picture

Co-Founder
Registered: 04/22/04
Posts: 2,455

    10/23/09 at 09:36 AMReply with quote#5

One note on the Style attribute... 

Attributes must have a semicolon after each attribute, e.g.  "width:100px;"  (note the semicolon following "px").  It won't work otherwise.
 
Note also that widths are just suggestions to your browser.  Different browsers handle them differently.

__________________
Alan Fisher
Chairman
Iron Speed, Inc.
http://www.ironspeed.com
dchapin
Registered: 11/15/07
Posts: 24

    10/27/09 at 11:26 AMReply with quote#6

This is a problem I am dealing with today with no positive results.  I have a table panel on a a report page.  It is a "notes" field/column that seems to be stuck at about 50px width.  I have tried several options to change the width of that one field on display to no avail.  Version 6.1 by the way.

How can the width of a large text field be changed to be 200, 400 or more wide?  When changing the html, nothing changes, when adding "width" to the attributes of the field, an error is generated during build.  Changing the field from a literal to a textbox doesn't do it, as errors are generated at that time too.

Thanks for your suggestions and comments.

__________________
Dennis L. Chapin
Sr. Vice President
SkyMed International, Inc.
Scottsdale, AZ
JimiJ
Avatar / Picture

MVP Developer
Registered: 03/31/05
Posts: 4,028

    10/30/09 at 09:44 PMReply with quote#7

Dennis,

Fixing width on ISD 6.1 and Up works by adding Styles attribute into  the cell. 

Please see attached image.


Hope that helps,



Jimi


Attached Images:
Click image for larger version - Name: Styles_attribute_to_the_cell_10-31-2009_12-33-38_PM.png, Views: 76, Size: 29.53 KB  

__________________
Jaime Jegonia
JimiTron Software
JimiTron.Net | JimiTron.Com

dchapin
Registered: 11/15/07
Posts: 24

    11/02/09 at 09:27 AMReply with quote#8

Thanks.  I'll give that a shot.


__________________
Dennis L. Chapin
Sr. Vice President
SkyMed International, Inc.
Scottsdale, AZ
Previous Thread | Next Thread
Reply

  Bookmarks  
Digg Diggdel.icio.us del.icio.usStumbleUpon StumbleUponGoogle Google

Download Iron Speed Designer

Privacy Statement