09-23-2022 08:01 AM
Hi all,
I am using Mike Kings DataGrid.
I was wondering if anybody has tried selecting/clicking a cell programmatically.
The .NET code is actually pretty straight forward, as I googled here:
DataGridView1.ClearSelection()
DataGridView1.CurrentCell = DataGridView1.Rows(MyDesiredIndex).Cells(0)
DataGridView1.Rows(MyDesiredIndex).Selected = True
I haven't managed that in LabVIEW.
Has anybody else achieved something similar?
Cheers for any help!
Niko
Solved! Go to Solution.
09-23-2022 08:09 AM - edited 09-23-2022 08:10 AM
09-23-2022 08:20 AM
09-23-2022 03:59 PM
Oh wow, Wiebe, that already brings me a long way for understanding things with the datagrid!
Works like a charm!
Thanks a lot.
If anybody needs the snippet, it is attached here.
(I needed the error wires because my column 0 was invisible, so the original code threw an error)
Cheers, Niko