I want to select an entire row in a DataGrid using code, not the mous, but I've got no idea how I could do that. I've set the property
"DataGrid1.MarqueeStyle = dbgHighlightRow".
If the grid had a method, like this
"DataGrid1.SelectRow(x)"
it would be just fine, but it hasn't. I tried all the methods of the DataGrid control, but I didn't find any working solution to select an entire row. All I foud was how to select a range of columns:
"DG1.SelStartCol = 0
DG1.SelEndCol = 5"
Someone advised me to simulate a maus click (using API) on the row I want to select, but I think this is not a solution.
I hope someone could help me to solve this problem.
Thanx a lot.
"DataGrid1.MarqueeStyle = dbgHighlightRow".
If the grid had a method, like this
"DataGrid1.SelectRow(x)"
it would be just fine, but it hasn't. I tried all the methods of the DataGrid control, but I didn't find any working solution to select an entire row. All I foud was how to select a range of columns:
"DG1.SelStartCol = 0
DG1.SelEndCol = 5"
Someone advised me to simulate a maus click (using API) on the row I want to select, but I think this is not a solution.
I hope someone could help me to solve this problem.
Thanx a lot.