Browse by Tags
» SelectedItems (RSS)
Showing page 1 of 3 (21 total posts)
I have a similar problem. I need to get a selected item in Detail list, so I can have it through Data Binding.
SelectedItem returns null when I click on an Item in the Detail list.
Could anyone help me getting the list of selected items from the grid when selection mode is in Extented? I'm trying to use MVVM design and am reluctant to add much in the code behind.
I've read the Don't Panic on why there wouldn't be a selecteditems property available but I am right in thinking this only applies to the Silverlight version and ...
What do I need to do so that the selected row(s) don't change color when the data grid loses focus?
I'm using Xceed DataGrid for WPF v3.7.10418.1216.
Here's an example of the current behavior:
1) Select one or more rows in the data grid. Notice that they are displayed with the selection colors.
2) Take some action that will ...
Hi, I've got a question:
When I select items in the grid, and then click on the FilterRow,
the selected Items are cleared.
Is this intended behaviour?
We just upgraded our grid version from 3.5 to 3.6 and it seems like Grid.SelectedItems is not working, it used to return the collection of all the currently selected items, but it seems to return only the first item all the time now. Is there anything changed? Anybody having the same issues?
SelectedItems Property is read-only but you can still call
SelectedItems.Add(object selectedObject) to select multiple items.
I have two grids on the screen. Based on selecion of items in one grid by the user I need to mark the items as selected in the other grid.We are following the MVVM pattern where in the property of the control are bound to the properties of the corresponding view model file so that when the property of a control changes view model is ...
For a change I can share instead of ask. This method worked for me when wanting to delete selected rows from the datagrid. I normally have less than 10 rows in the datagrid so I am not sure if speed will be a problem with a large number of rows.
private void Delete_Button_Click(object sender, RoutedEventArgs ...
Was wondering if this is normal behavior, I have the following code for a SelectedItemsChanged event:
//Register change event for SelectedItemsChanged ((INotifyCollectionChanged)this.SelectedItems).CollectionChanged += new ...
In a hierarchy grid, how to capture the selection changed event at the child level? I could not find any event for that in Xceed DataGrid. Also please let me know how to get all the selected records both at parent and child level.