Any ideas would be great!
Thanks,
Justin
How do I programmatically scroll the datagrid to a particular row?
Check it out at:
http://www.syncfusion.com/faq/winforms/search/895.asp
=============================================
Clay Burch, .NET MVP
Syncfusion, Inc.
visit http://www.syncfusion.com for .NET Essentials
"Justin Emlay" <NOSPAM...@Maisto.com> wrote in message
news:edxH0hhX...@tk2msftngp13.phx.gbl...
I found that article and one like it however I have no clue as to
implementing it into my current project.
Any clues?
Justin
"ClayB [Syncfusion]" <cl...@syncfusion.com> wrote in message
news:OOqtlqh...@TK2MSFTNGP10.phx.gbl...
public static ScrollLastRowIntoView(DataGrid dataGrid)
{
if(dataGrid == null) return;
if(dataGrid.Visible)
{
foreach(Control control in dataGrid.Controls)
{
if(control is VScrollBar)
{
VScrollBar scrollBar = (VScrollBar)control;
if(scrollBar.Visible)
{
scrollBar.Value = scrollBar.Maximum;
}
return;
}
}
}
}
Good Luck,
Dave
"Justin Emlay" <NOSPAM...@Maisto.com> wrote in message
news:edxH0hhX...@tk2msftngp13.phx.gbl...