on 03-19-2009 2:07 PM
Hi,
I am facing a problem that if the rows in my table on the UI have no values, then these rows shrink and as such the whole table seems to shrink.
Please suggest a way so that even if there are no values in the rows,they don't shrink.
Thanks,
Anurag
Hi
Just one setting required for this kind of problem
In Table set the width property = 100 % thats it . No matter data is there or not it will always according to layout and screen resolution.
further , if required u can set the width property of particular column in such a way that 25*4 = 100 , if 4 column are there then sum of the width of each column should be 100 .
Best Regards
Satish Kumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anurag,
You can try to set some value for the property 'emptyTableText' - This property specifies the text to be displayed if rows in the table are empty. If you do not enter a text here, a standard text will be displayed if property visibleRowCount is -1.
Hope this helps you.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anurag,
You can try to set the property 'fixedTableLayout' to 'true' - This property specifies whether the table obeys the layout restrictions. If set to 'true', the content of the row will be cut off if its longer than the allowed width.
Hope this helps you.
Kind Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Armin,
This property has been set to true but doesn't seem to help.
Hi Nitin,
I tried doing what you suggested but the situation remains the same.
I'll make myself more clear:
I have set the scrollable column count to 8. If all of these 8 columns have no value then that particular row shrinks in size and appears to just two consecutive lines .
Can you suggest a way out.
Thanks,
Anurag
Hi,
What is the property firstVisiblescrollableCol used for? I can see this one in the table propertie... but not sure. Could you try setting it?
Also as mentioned in prior posts,
the table width could be set as 100%
displayEmptyRows = true
visibleRowCount = 5 (your value)
This is all that could be tried as far as table properties are concerned.
Good Luck!
Anagha
Hi All,
Thanks for replying.
I think I will make myself more clear.
The situation is as follows:'
The rows should be as below:
Lets say the column width is on X axis and individual row height is on Y axis.
_____________________________________________
Lets say this height is Y pixel Y |
_____________________________ _______________
Now with no data, the height of the row reduces to less than Y pixel.The column width on X axis remains constant.
_____________________________________________
_____________________________________________This height is less than Y pixel.
This is the shrinking of row height that I am referring to.This is happening for all the rows of the table.
Please see if you can help.
Thanks ,
Anurag
Edited by: Anurag Gwari on Mar 20, 2009 6:57 PM
hi
please check the TableRpwCount property ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.