U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl: how to show the last inserted row
Re: GridCtrl: how to show the last inserted row [message #35199 is a reply to message #35197] Sat, 21 January 2012 22:30 Go to previous messageGo to previous message
unodgs is currently offline  unodgs
Messages: 1367
Registered: November 2005
Location: Poland
Ultimate Contributor

forlano wrote on Sat, 21 January 2012 13:19

Hello,

I have a GridCtrl populated by many data. Each time I feed a record at the end of the ctrl I would like to visualize it.
I tried
grid.GoEnd()
but the lelection go on the last row but no autoscroll is performed and the row remains not visible.
Even grid.ShowRow(lastrow) does not work.
Which is the magic method that let appear the last added row at the end of the grid?

Thanks,
Luigi

That's strange. GoEnd is supposed to scroll the content of the grid. I'll check what's going on.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: GridCtrl: Setting column widths programmatically
Next Topic: Customising GridCtrl Search
Goto Forum:
  


Current Time: Sun Sep 27 18:41:09 GMT+2 2026

Total time taken to generate the page: 0.00769 seconds