My grid is bound to an ObservableCollection that has 2 levels of data in it.
the grid is displaying properly but twhen I clink on the record Selector the event never fires.
I need to know which row is selected/Active to send back info to my ViewModel.
Is there a way to trun off the NestedDatadisplay (like the WPF grid). this would be Ideal but I can't find the corresponding property to do so.
Hi,
Are you listening to the RowSelectorClicked event? This event fires on all levels.
There is also the ActiveCellChanged event which you can use, as the active cell can be changed by a user clicking on a cell or using the keyboard.
As for your other question. What do you mean by Turn of the NestedDataDisplay? You don't want a hierarchy?
-SteveZ
Yes I am listiening to the row selector clicked Event.
the ActiveCell changed event does fire but if I click on the row selector and it expands the 2nd level of data the active cell changed event does not fire so I hacve the wrong item as being "my selected Item" from the grid. In the WPF version of the Xam Grid you can turn off the displayed hieracrchy and only display the top level. We wnat to be able to do that here as well.
perfect now I've got it as I need it
thank so much Stephen!!!!
On the RowSelectorSettings there is a property called EnableRowNumbering, just set it to false if you don't want row numbers.
As for the Expansion Indicator Column, you can follow the steps i gave you before, or you can go to ExpansionIndicatorSettings and set it's Visibility to collapsed.
got it, they are numbered by default? I'll have to do something about thta too LOL!
thanks Stephen, now I just need to hide the Expanders and I should be all set!
Right, that's b/c its still not the row selector, it is still an expansion indicator cell.
To turn on RowSelectors, you need to go to RowSelectorSettings and set Visibility to Visible.
that's correct the expansio indicator does not fire the event, but on rows whre there are no child collections attachec and that blue arrow does not show , the even still does not fire. I will look into these other suggested options
thanks