cancel
Showing results for 
Search instead for 
Did you mean: 

Table is shrinking

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member185086
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

Anurag,

Do you mean to say that the empty rows do appear but the table size is so small that you need to scroll to right and bottom to view anything..?

Former Member
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

hi

please check the TableRpwCount property ?

Former Member
0 Kudos

HI Murali,

The visible row count property has been set to five. Do you want me to check this or some other property.

Thanks,

Anurag

Former Member
0 Kudos

If your version is 7.1, set "displayEmptyRows" to true.

Armin