Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
25
Set First Row
posted

good morning everyone,

i'm having trouble with setting first row in ultragrid.

Example:

(index) Description
1 - Test
2 - Test xxx
3 - Test yyy
4 - Test zzz
5 - Test kkk

I want, for example, third row is the first that i see.

So:

I can see 1 or 2 only i if i use scrollbar.


It's difficult to say, i hope i was clear.

P.S. i use VB.NET

Parents
No Data
Reply
  • 28925
    Verified Answer
    Offline posted

    Hello Marco,

    You can set the FirstRow property exposed from the RowScrollRegions collection to the row you wish to display first.

    For example,

    'Display the 3rd row first.

    Me.UltraGrid1.DisplayLayout.RowScrollRegions(0).FirstRow = Me.UltraGrid1.Rows(2);

    Let me know if you have any questions regarding this matter.

     

Children