Hey there!
I'm using Q1 2010 ComboBoxColumns in my GridView. For multi-editing 1-n items in my GridView i added a SelectionColumn and some controls outside the GridView so i can select as many items i want and use the outside controls for setting the properties for the selected items.
Furthermore it should be possible to edit one GridViewItem by setting the property directly by choosing from the ComboBoxColumn at the specific row. It would be great if i can do so without unselecting the other selected items. GridView.SelectedItems return all selected items of course, GridView.CurrentItem or GridView.SelectedItem returns the first selected item. I guess the GridView knows which row i'm editing because of the "cursor-editing" icon on the left side when clicking into one row.
For my purpose it is mandatory to retrieve this information in my CodeBehind, because i'm using 5 GridViewComboBoxColumns and their items are depending on the other selected ComboBoxItems, so if i select an item from the first ComboBoxColumn, the items of the second ComboBoxColumn have to be filtered because of my selection.
So i need to get the current row in my CodeBehing or a nice way to filter the ComboBoxColumns by DataBinding or any other way.
Looking forward to hearing from you.
All the best,
Markus
I'm using Q1 2010 ComboBoxColumns in my GridView. For multi-editing 1-n items in my GridView i added a SelectionColumn and some controls outside the GridView so i can select as many items i want and use the outside controls for setting the properties for the selected items.
Furthermore it should be possible to edit one GridViewItem by setting the property directly by choosing from the ComboBoxColumn at the specific row. It would be great if i can do so without unselecting the other selected items. GridView.SelectedItems return all selected items of course, GridView.CurrentItem or GridView.SelectedItem returns the first selected item. I guess the GridView knows which row i'm editing because of the "cursor-editing" icon on the left side when clicking into one row.
For my purpose it is mandatory to retrieve this information in my CodeBehind, because i'm using 5 GridViewComboBoxColumns and their items are depending on the other selected ComboBoxItems, so if i select an item from the first ComboBoxColumn, the items of the second ComboBoxColumn have to be filtered because of my selection.
So i need to get the current row in my CodeBehing or a nice way to filter the ComboBoxColumns by DataBinding or any other way.
Looking forward to hearing from you.
All the best,
Markus