Greg Brown
 Advanced Member Posts:724

 |
| 07 Dec 2008 09:50 PM |
|
Attached is a tutorial on how to build multi-column forms and templates in Xmod. There is also a template attached that is explained in the tutorial. Hope this helps and if you have any questions please feel free to post here. Greg |
Attachment: 1127502867171.pdf
Attachment: 1127502867154.txt
|
|
|
|
Jesper_
 New Member Posts:19

 |
| 16 May 2009 02:33 PM |
|
How do I control the width of the td's in 3-pane list-view? See the problem here: http://jordkraft.dk/Vidensbase/tabid/125/Default.aspx |
|
|
|
|
Greg Brown
 Advanced Member Posts:724

 |
| 19 May 2009 07:21 PM |
|
Equal sized columns: <table width="732px"> <tr> <td width="244px"></td> <td width="244px"></td> <td width="244px"></td> </tr> </table> You can make the columns different sizes as long as they add up to the table width. Greg |
|
|
|
|
Jesper_
 New Member Posts:19

 |
| 19 May 2009 07:32 PM |
|
Hi Greg. Can't do this for 2 reasons. 1. It is not my table casuing this, it's the list-view table (created automatically by xmod through the Template settings) 2. Fixed width is no good with a dynamic xhtml layout. I have 3 page width options (narrow, normal, fullscreen). In the Template settings for the template, I've choosen 3 columns, Horisontal, Table. But as you can see its not working that well. This problem is seen in both IE and FF. |
|
|
|
|
Greg Brown
 Advanced Member Posts:724

 |
| 22 May 2009 08:08 AM |
|
Sorry I must have missed that you said it was a list template. To be honest I have never used the list template in Xmod. I use Xmod to build web apps and always use the grid template. That said, have you tried setting the width and height settings under Template Settings? In a grid template this width setting sets the width of the whole grid it might set the width of a column in a list template. If this doesn't work then I would try setting the widths of the controls in your form to the width you need each column to be in your template. It may be that you have set the width of the controls in your form to a width greater than what each column is in your template??? That's a stab at it anyway. Greg |
|
|
|
|
XgenX
 New Member Posts:18

 |
| 18 Sep 2009 10:24 PM |
|
I noticed in your tutorial, Greg, that the <literal> tag overlaps other tags. That is not allowed in XML. You are not supposed to open a tag within another tag and then close the first tag outside of the second tag. I just mention that because I am trying to decypher a problem I am having getting my form to diplay properly. I am also trying this with <div></div> tags instead of <table><tr><td></td></tr></table> tags. It doesn't appear to work with <div>. Is this true? I put in a couple of inputs and it works, then I wrap that in a div tag and it fails. |
|
|
|
|