cancel
Showing results for 
Search instead for 
Did you mean: 

Smartform: Need help on table border

Former Member
0 Kudos

Hi all,

I have a requirement to draw a table in smartform which ONLY requires the outer border for body.

The table contains many rows and that means the body does not contain border inside except the outer border.

For e.g.:


--------------------------------------------
| Header 1              |  Header 2         |
--------------------------------------------
|  Line 1                                   |
|  Line 2                                   |
|  Line 3                                   |
|  Line 4                                   |
|  Line 5                                   |
--------------------------------------------

My problem is that I can not handle the horizontal border for the body.

--> If I choose the horizontal border for the body, for each row it will display a horizontal border.

--> If I do not choose the horizontal border, each time a new page is created and at the end of the table we do not have the border to close the table.

Please advice me.

Thanks,

Khanh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

You can find the different types of borders in in SELECT PATTERN icon in TABLE node properties ..

if that patterns is not matched your requirement , u have to choose the appropriate one and add the extra borders what ever you want by using Left , right , upper, lower frames .

if your table size is fixed in your layout better to go for template than you can draw borders as per your requirement ..

Let me know if concerns ....

Former Member
0 Kudos

Hi Rediez,

I agree that I need to add a line at the end of the table but did not know how to do that through Table Painter. Could you please advise?

In addition, how to handle when a new page is inserted? I also want to have the close-border at the end of each page.

Thanks all for your time,

Khanh

Former Member
0 Kudos

Hi ,

For close border u have to

=> create the footer for the TABLE with single column

=>create the text element in the footer with blank

=> apply UPPER FRAME for footer line type

Hope you resolve your issue ....

Let Me know if any concerns ...

Former Member
0 Kudos

Hi Rediez,

How about the close-border for the table? The data in the table is dynamic and it can finish anywhere in the page.

Using a line from footer can not resolve my problem because it belongs to footer part.

How about drawing a line? Please advise me how to do that?

Thanks,

Khanh

Former Member
0 Kudos

Hi ,

Means your table will be fixed size as per your requirement

for that you have to create the template with the same measurements of the table with same allignment and draw the borders of template as per your requirement at the same time select none pattern for the TABLE ..

Let me know if any concerns ...

Former Member
0 Kudos

Hi Rediez,

My table's data is selected dynamically so that I can not use Template.

Table is the only solution :(.

Thanks,

Khanh

Former Member
0 Kudos

Hi ,

as per previous post i told you creation of footer with blank text text element and applying the upper frame for footer ..

this will resolve your issue ...

Let me know if any concerns ...

Former Member
0 Kudos

Hi Rediez,

Thanks for your time and great support.

I misunderstood your idea.

Thanks,

Khanh

Former Member
0 Kudos

As an alternative, you can actually create a blank window with outer borders that is the exact same size as the main window. So in every page you will have a fixed box.

Former Member
0 Kudos

Hi ,

That is for layout having fixed size for line item data.

if you want borders dynamically you can go through that thread.

Let me know if any concerns .....

Former Member
0 Kudos

Hi Jason Chuah,

I thought to your solution before but it could not resolve my problem. The reason is I have more than one table in smartforms.

Creating a line in each table's footer is the best solution.

Thanks all for your support,

Khanh

somopriyo_gorai
Discoverer
0 Kudos

Hi,

Create a footer with blank text text element  and applying the upper frame for footer.....It will work

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Khanh Nguyen,

I hope you are Vietnamese because I am

One question, what if I have some footer lines already and those lines need only appear at end of table?

Thanks in advance.

Former Member
0 Kudos

hi,

For displaying the footer lines only at the end you can put the condition for border line template or table. you have different check boxes for displaying at end of page or at strat of page.

Hope this helps you

Thanks,

Ibrahim

Former Member
0 Kudos

Can you explain more detail?
How will I put the condition for border line of table?

Former Member
0 Kudos

You have to paint your own Table Borders for this

Go to the Table Painter you can see 5 boxes One is Vertical one is horizontal So place the Cursor on your table and Press the Above boxes for What ever edge you want.