Eto GridView SelectedItem vs SelectedItems

Hi

In forms.GridView, when I use SelectedItem, it gives the name of the selected item. But when I use SelectedItems, it gives the IEnumerable (I think). How do I get the names by using SelectedItems

Thanks

Mmmm… this seems to work:


self.lb = forms.GridView()
.
.
.
selection = []
for i in self.lb.SelectedItems:
    selection.append(i[0])
            
return selection

i don’t know why it worked thou… :rofl: