on 02-16-2007 1:34 PM
Hi, I wonder if anyone can help me with the following please.
I want to output data on a smartform in a table with a border. I cannot seem to get it to work eg. I need 3 columns and just two rows. 1 header + 1 line.
Col Heading 1 Col Heading 2 Col Heading 3
Data Data data
any help would be most welcome. thanks.
If you need FIXED rows and columns, you should use a template node instead of a table node.
A table node is meant for loop over a table (hence the name) and thus can vary in number of rows (from 1 to many).
Below the template you create for each cell (colum header text or column value) the text node and assign the column and row number in tabview "Output options".
If you use a table, you create the text node as well and flag on/off the
[New line], [New cell] and/or [Skill cells] (you enter a number of cells to be skipped according to your logic) in tabview "Output options".
I hope this information helps you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Yo may like to declare a template in the smartform with three column and 2 rowa as template is an static object and completely handled programatically you can display only as many rows as you like to.....even if internal table has 5 rowa and you want to diaplay only two it can do that.
Also the header can be used here as it is static and each cell need to be explicitly defined so you can pass constant value too.
Welcome To SDN
Regards,
Amit
Reward all helpful replies.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi DK,
Are you familiar with the line type concept in smartforms, if yes, then define a line type with three columns. Then in your driver program, create an internal table with three columns, first line has the header entries and second the data. Then in your smartform loop at then internal table (attach the line type to the table).
Shouldnt this work ?!?1
Regards,
Aditya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.