on 03-02-2011 9:15 AM
Hello,
im displaying a table and without line border between them in the following way:
package | description | delivery
85309857450 | certain description | 8519863681
9101226450 | some description | 8517573681
. . |. . | 8517573663
. . |. . | 8517573671
9109857450 | other description | 8519863681
i would like to add a bottom border line between every package and after every line like this:
package | description | delivery
85309857450 | certain description | 8519863681
_______________________________________
9101226450 | some description | 8517573681
. . | . . | 8517573663
. . | . . | 8517573671
_______________________________________
9109857450 | other description | 8519863681
(the cells that contain the value '.' in the tables were added only for displaying this post the right way- they should be blank)
Is it possible?
Edited by: moshe reiss on Mar 2, 2011 10:16 AM
Edited by: moshe reiss on Mar 2, 2011 10:20 AM
Hi Mate,
I couldn't understand your table data here any ways..
If its a nested structure (table/subform) set the border to the parent table row elements.
if its like a single structure and if you need a border based on criteriea you need to script for that.
so let me know what was your design structure, and condition.
I can advice you accordingly.
Cheers,
Sai
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Moshe,
lets say you have a simple table with one header & 1 body row with 4 fields A,B,C,D.
if you want a border if A value is not null have the below javascript on form ready event of field A.
Make sure you have no borders defined for the table at any element.
if(this.rawValue != null || this.rawValue != "")
this.parent.border.getElement("edge",2).presence = "visible"; // sets bottom border to the data row node.
/*
Note: 0 = top
1 = right
2 = bottom
3 = left */
Since I have used this property and no absolute paths, if you just copy paste my code it should work (hopefully ha ha ha).
if you need my test file give me a test mail to my ID.
Cheers,
Sai
User | Count |
---|---|
92 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.