Page 1 of 1

dg first row

Posted: Sun Nov 13, 2011 6:43 pm
by link76
Hello

I have a scroll control in my dg created with the object iphonecontrol.
I delete the control when I leave the card, but when I return in the card, the rows are where I left them,

how can I put on the first line of the dg?

thanks

Re: dg first row

Posted: Sun Nov 27, 2011 4:47 pm
by mdoub
Take advantage of the dgVScroll scroll property of the datagrid. When the grid is initialized it is set to 0 and the first line is at the top.