0

Listbox scroll

asked 2009-03-31 12:43:10 +0800

ggrimoldi gravatar image ggrimoldi
74 1

Hi all.

I have a live data listbox (no paging, no rows set).
Suppose I have 300 rows in my model.
Suppose you can see about 15 rows in listbox visible area.
Programmatically (not user interactive scroll)) I need to select a row and to
show that row in the visible area.
I tryed using smartUpdate("scrollTop",value), but "value" is a pixel expression, so
it's very difficult to manage and to warrant that a selected row will be into
the visible area. Sometimes rows are a bit too top, sometimes too bottom...
Can anyone suggest me a way so that this can work in a deterministic way?

Any hints will be appreciate.

Thanks

delete flag offensive retag edit
Be the first one to reply this discussion!
Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Question tools

Follow

RSS

Stats

Asked: 2009-03-31 12:43:10 +0800

Seen: 207 times

Last updated: Mar 31 '09

Support Options
  • Email Support
  • Training
  • Consulting
  • Outsourcing
Learn More