on 09-07-2005 1:47 PM
Hello All,
I have about 35 columns in my table. I need a table view with a scrollbar. How can i do this?
Regards,
Aayush
Hi Valery,
Thanks for the correction. Related to specifying the height & width of any UI element, I had always wanted to ask this - why is that specifying the height in percentage doesn't work? Don't you think this is a major drawback as it forces us to build our applications specific to a resolution?
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Nibu,
This is a limitation of current browsers' rendering. Neither IE nor Mozilla/Firefox is able to correctly display following CSS combo:
{
height: 100%;
overflow: scroll;
}
In plain DHTML applications the workarounds are:
1. Track window resize events and re-assign absolute height for scrollable containers (all modern JavaScript-enabled browsers)
2. Assign height like JavaScript expression with the same logic as above (IE only)
I agree that this is a serious drawback, but definitely WD cannot solve this issue.
Valery Silaev
EPAM Systems
http://www.w3schools.com/css/css_units.asp
I'm not sure whether it is possible to set heigth of IWDScrollCotainer using "em" from designer (it's possible from code).
VS
Hi,
You can create a scrollable table using the ScrollContainer UI element by the following steps:
1) set the 'visibleRowCount' of the table as '-1'.
2) set the 'scrollingMode' of the ScrollContainer as 'auto'.
3) set the height and width of the container as some fixed value. So when the table area becomes more than the space specified, the scroll bar will automatically appear.
Hope this helps,
Best Regards,
Nibu.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dharmi and Arno Nibu,
I guess Ayush is talking about the horizontal scroll bar as he has large number of columns. So, no need to do anything releted to row count and rowvisibility.
Hi Ayush,
You can put your table in scroll container and set this container's size to some fix values. And set scrolling mode to "AUTO".
Regards,
Bhavik
Aayush,
If you don't like the default page up/down buttons,
you can put your table into a scroll container.
Don't forget to disable the page up/down buttons (make 'footer visible' to false).
regards,
Arno
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Arno,
I tried the solution you mentioned in 2 different ways and it did not work for me :-(. Below is what I did:
1. I put the table in the scroll container
1st Method:
1. The properties of scroll container - no changes made
2. The "footervisible" property of the table - set it to false. and the "visiblerowcount" is 5
The result:
After 5 records you see the default page up/down buttons and ofcourse no scroll in the container.
2nd Method:
1. "Scrollingmode" property of the scroll container set it to auto
2. The "footervisible" property of the table - set it to false. and the "visiblerowcount" is 5
The result:
no table seen!!!!
Hope you can help.
Regards,
Dharmi
User | Count |
---|---|
87 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.