Results 1 to 2 of 2

Thread: datagrid

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Posts
    1

    Angry

    I have 1000 records within datagrid. The datagrid can display 20 rows(records) for one screen and for next records we must scroll down to see it. Let say the cursor indicator is at 100 record and when i click the command button, the cursor indicatorbmust be at the top datagrid which is at the first record(row). How to do it(coding)?

  2. #2
    Addicted Member
    Join Date
    Jan 2000
    Location
    Sydney, Australia
    Posts
    196
    In the button click event do this:

    Code:
    DataGrid1.Row = 0
    where DataGrid1 is the dame of your datagrid.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width