how to set the topmost row item in a datagrid control

  • Thread starter Thread starter Willie wjb
  • Start date Start date
W

Willie wjb

Hi,

i want to set the topmost row displayed in a datagrid control but can't find
the command for it.
Before there was the .setfirstrow property,

but in this datagrid (framework 1.1) control i can't find it?

thanks.
 
thanks!

strange that this is no default property!

Rob Windsor said:
Hi Willie,

The DataGrid doesn't have a public method to do this. Below are links to two
entries on George Sheperd's Windows Forms FAQ that show how to use
inheritance to allow scrolling to a particular row and finding out the
top/left cell in the grid. Hopefully you can combine these to get what you
need.

http://www.syncfusion.com/faq/winforms/search/895.asp
http://www.syncfusion.com/faq/winforms/search/880.asp

--
Rob Windsor [MVP-VB]
G6 Consulting
Toronto, Canada


Willie wjb said:
Hi,

i want to set the topmost row displayed in a datagrid control but can't find
the command for it.
Before there was the .setfirstrow property,

but in this datagrid (framework 1.1) control i can't find it?

thanks.
 
Back
Top