[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Strange behaviour: ensureItemToBeDisplayed  XML
Forum Index -> Development
Author Message
hilka

Power User

Joined: 23/11/2007 09:00:08
Messages: 191
Offline

Hello,

I tried to select the first entry in my grid with selectItem. There was a problem with displaying the items (the rows were there, but no content was visible), so I tried to call ensureItemToBeDisplayed afterwards. Now the content is visible, but now the scrollbar behaves strangely:

As I said, I wanted to select (and display) the first item, but now, the scrollbar moves to value 1, even though the index of the item to select is 0. I think the computation of the index in ensureItemToBeDisplayed is somehow buggy.

Tobias
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team