| Author |
Message |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 09/05/2011 03:00:08
|
Ray Herring
Joined: 09/05/2011 02:54:37
Messages: 2
Offline
|
So i have a bit of an unusual problem, not sure if this one is even possible or not.
Basically i have in my XML file, something like:
Now, when creating the table from the XML file, if 'row_type' == 1 then the row needs to look a certain way (basically have 8 columns of data), however, if the 'row_type' == 2 then it needs to only have 2 columns (the first one is blank, the second one colspan's over the other 7 of them). I can't seem to work out how to do this though.
Ray
|
|
|
 |
![[Post New]](/forums/templates/default/images/icon_minipost_new.gif) 09/05/2011 03:03:15
|
Ray Herring
Joined: 09/05/2011 02:54:37
Messages: 2
Offline
|
Nevermind, i figured it out. Was actually easier than i thought.
Basically, i created 2 rows in my table, and on each one i set a 'row if' pattern, so for the first row, it gets shown *only* if 'row_type == 1' and the second row only gets shown if 'row_type == 2'.
|
|
|
 |
|
|
|
|