on 09-14-2007 10:06 AM
Hello,
How can i scroll in a tableview'' cell automatically.
This cell is not on the first page.
I try some : document.getElementById('ID_BB_50_2').focus();
but is not working.
Best regards
<i>you mean the user clicks a link (a cell) in the third page of your tableview and it opens the page in the same browser window. and from the opened page if the user clicks back button (browser back ) it goes to the first page of the tableview?
</i>
Yes you anderstand.
- My application is stateless
- When my user click in a cell's link that opens a popup window.
- When he closes this window (with a button or 'X' corner), i refresh the main window and in the tableview he is on page 1.
If you have a solution...
Best regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
<i>When he closes this window (with a button or 'X' corner), i refresh the main window</i>
is it necessary , are you passing some data back from the pop up window to the main page?
if you refresh the main page it will automatically go to the first page. if you want to retain the same page (in tableview) if set a variable for the tableview's <b>visibleFirstRow</b> attribute
<htmlb:tableView
......
visibleFirstRow = "<%= vfrvar %>"
suppose the visiblerowcount attribute is 5 (5 rows per page in tableview) then the first row for page three is 11 which you have to pass to vfrvar while refreshing the main page.
Hope this is clear.
Regards
Raja
I answered a little quickly.
If i use visibleFirstRow = 11 ( for the page = 3) it's ok, i go back on my row, but i can't go to page = 1.
The previous pages are not accesible.
T.Chiret
null
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It's great.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes of course,
The user is on a huge tableview with a lot of rows, he scrolls of 3 pages for example and click on a cell's link. When he comes back the tableview is on page = 1, row = 1 and col = 1 and my user is lost.
Well, if you understand my poor english...
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
you mean the user clicks a link (a cell) in the third page of your tableview and it opens the page in the same browser window. and from the opened page if the user clicks back button (browser back ) it goes to the first page of the tableview?
if my understanding right?
1. is your application stateful or stateless?
2. can you redesign so that clicking the link opens the page in a new window?
3. from the opened application, do you go back by clicking browser back button or some custom back button?
Raja
Nobody has an idea ?
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
24 | |
11 | |
9 | |
7 | |
5 | |
5 | |
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.