on 11-15-2007 10:33 AM
Hello,
I want to use scroll bar inside a tray UI Element. I tried using the scrolling mode property of tray but no scrollbar appeared.
I am trying to do this using dynamic coding.
Can someone help me in this??
Thanks and Kind Regards,
G Singh.
Hi,
Following are the approaches
1) create a Tray and set the srolling mode property
IWDTray tray = view.createElement(IWDTray.class, "tray1");
tray.setScrollingMode(WDScrollingMode.BOTH);
2) Create a tray and add it as child of a Scroll container
IWDTray tray = view.createElement(IWDTray.class, "tray1");
IWDScrollContainer scrollContainer = view.createElement(IWDScrollContainer.class, "Scroll1");
scrollContainer.addChild(tray);
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ayyapparaj,
Thanks for this info.
If i want to have only 5 visible rows in my tray and use a scrollbar for more rows, then what i need to do.
Using WDScrollingMode.AUTO , its webdynpro that decides when to provide scroll bar, but here i want it to come for more than 5 rows
Thanks and Kind Regards,
Gursimran Singh
Hello Ayyapparaj,
Sorry for confusion.
But i am not talking of tables. I am saying that suppose my tray UI Elements has 10 linkToAction UI elements and i only want to show 5 and for the rest five i want the user to scroll !!
How i do this using a tray and not a table !!
Thanks and Regards,
G. Singh
thanks for all ur inputs..
Kind Regards,
Gursimran Singh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
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.