on 10-25-2007 5:18 AM
Hi,
I am facing a situation where I have created a Scrollbar which contains a table with more than 50 columns(Created Dynamically). In the table I have used Table Filter. Now when i click on the filter the window moves to the extreme right. Thus a gap is created between the scroll bar(fixed size) and the search help window.
Please reply asap. Urgent requirement.
Helpful answers will be rewarded.
Thanks,
Prasanna.
HI Prasanna,
Make the Streched Horizontally property of the table UI element to false.
Regards,
Murtuza
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guys,
Sumit said the right thing. My NWDS version is 2.0.16.
Thanks,
Prasanna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I have used a scrollContainer because the table which it contains, consists of more than 50 columns. So I dont need a scroll for the entire view rather i need it for the scrollcontainer. Now the issue is that I have Filter Search window which goes to the entire length of the table(if the table not had been in a scroll container).
Hence a gap is created between the scroll container and Filter Search Window which goes to extreme right. I have used a GridLayout.
Thanks,
Prasanna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
(1)use matrix layout
(2)set the property stretchedHorizontally false
(3)Then I said you do not need scroll container even if you have to show 50 columns.
go to wdDomodifyView function and do following thing:-
(a)IWDTable table=(IWDTable)view.getElement("Table");
(b)table.setScrollableCount(5);
Now it will set your table as scrollable.
Now if you open any filter window it will not move to right.
If still there is any queries, you can ask.
Regards,
Praveen
Hi,
Above Solutions not working. Please suggest if any other solution.
Thanks,
Prasanna.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do following things for your table.
IWDTable table=(IWDTable)view.getElement("Table");
table.setScrollableCount(5);
Then it will not go to extreme right.
Regards,
Praveen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Which layout are you using?
It its matrix layout set the property of the container
<b> stretchedHorizontally false</b>
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
In your table properties find scrollableColCount, give a value how much columns must be visible.
Regards
Abhijith YS
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 | |
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.