[Laszlo-user] ensureItemInView Issue

gaurav gp at pagux.com
Fri Jun 8 03:45:44 PDT 2007


Hi fellow LaszloHeads,
I have made a list where I am adding new items dynamically
listDisplay.addItem(txt.getText(), txt.getText());

Problem is when no items overflow view last item added remains hidden till I
scroll it down
but I want the latest item added to the list to displayed to user ...so
scrollbar should automatically go down ...and last entry should to be
selected .I tried this but i has no effect .....I am not sure if i made some
mistake
listDisplay.ensureItemInView(txt.getText())


pl suggest


Regards,
Gp
-- 
**********************************************************

               www.PaGux.com
             Innovation Starts Here.

new blog.pagux.com ....get to know Whats Cooking ?
*******************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-user/attachments/20070608/8736d711/attachment.html


More information about the Laszlo-user mailing list