L
labjac
Guest
Hallo
We using a DataGrid to display and select a specific multi dimension objects in a array. I need to find a way to get the index of a selected object based on one element in the list.
There a collection of single objects to a list. Example below..
I tried indexof and FindIndex, but the result is -1... So somewhere I missing the point..
Trying to find the index of a object based on a value, for instance CompanyID 1, index of the list is [0]
I do get the CompanyID selected correctly, but I would like to find the index of the SingleCompany in the List.
labjac
Continue reading...
We using a DataGrid to display and select a specific multi dimension objects in a array. I need to find a way to get the index of a selected object based on one element in the list.
There a collection of single objects to a list. Example below..
I tried indexof and FindIndex, but the result is -1... So somewhere I missing the point..
Trying to find the index of a object based on a value, for instance CompanyID 1, index of the list is [0]
I do get the CompanyID selected correctly, but I would like to find the index of the SingleCompany in the List.
labjac
Continue reading...