BCTCGS Registered: 07/18/06
Posts: 153
|
| | 07/10/07 at 07:24 AM | Reply 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
|
| Loading... | |
dingjing

MVP Developer
Registered: 02/28/06
Posts: 1,464
|
| | 07/10/07 at 09:26 AM | Reply with quote | #2 |
|
Code:
<td class="table_cell" width="300">
|
| Loading... | |
JimiJ

MVP Developer
Registered: 03/31/05
Posts: 4,028
|
| | 07/10/07 at 07:08 PM | Reply 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 |
| Loading... | |
lalithas Registered: 10/02/09
Posts: 5
|
| | 10/23/09 at 08:55 AM | Reply 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 |
| Loading... | |
afisher

Co-Founder
Registered: 04/22/04
Posts: 2,455
|
| | 10/23/09 at 09:36 AM | Reply 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 |
| Loading... | |
dchapin Registered: 11/15/07
Posts: 24
|
| | 10/27/09 at 11:26 AM | Reply 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 |
| Loading... | |
JimiJ

MVP Developer
Registered: 03/31/05
Posts: 4,028
|
| | 10/30/09 at 09:44 PM | Reply 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:
__________________ Jaime Jegonia
JimiTron Software
JimiTron.Net | JimiTron.Com |
| Loading... | |
dchapin Registered: 11/15/07
Posts: 24
|
| | 11/02/09 at 09:27 AM | Reply with quote | #8 |
|
Thanks. I'll give that a shot. __________________ Dennis L. Chapin
Sr. Vice President
SkyMed International, Inc.
Scottsdale, AZ |
| Loading... | |