KreativeKai
Programmer
I have an application that has a treeview setup. Depending on the node selected on the treeview a datagrid is loaded with appropriate data from SQL.
At this point the treeview shows with the node highlighted and the datagrid is displayed with the data.
I want to have the cursor positioned in row 0 column 1. I tried the following logic:
DataGrid.CurrentCell = New DataGridCell(1, 0)
DataGrid.Focus()
I'm having no success finding the correct syntax.
Any suggestions?
Lost in the Vast Sea of .NET
Visit my website at www.komputing.com
At this point the treeview shows with the node highlighted and the datagrid is displayed with the data.
I want to have the cursor positioned in row 0 column 1. I tried the following logic:
DataGrid.CurrentCell = New DataGridCell(1, 0)
DataGrid.Focus()
I'm having no success finding the correct syntax.
Any suggestions?
Lost in the Vast Sea of .NET
Visit my website at www.komputing.com