Hi all,
I am using one xamwebgird instance binded to data from one ViewModel;
How could I find out which rows are selected on ViewModel's end?
How can I select a row from the ViewModel?
Hi,
This is a feature that we don't currently have, but is on our backlog.
So currently you have to use the events to be notified of selection.
However, the more information we can get on your scenario, the better we'll be able to make sure that when we do implement the feature, that it meets your requirements.
So, do you need this feature for multiple selection? Do you need it fore multiple levels/ColumnLayouts, or is this a flat grid?
Thanks,
-SteveZ
this is still missing?
if my user has 5 rows selected how do I know which rows they are??
In 2011.1 we added a ActiveItem property to XamGrid so you can bind that to a property on your VM to get the currently active row.
If you want all of the grids selected items, I'd suggest using a Behavior. I wrote a blog post that shows how you write a behavior that lets you get the grids selected rows in your VM:
https://es.infragistics.com/community/blogs/b/devin_rader/posts/using-behaviors-to-synchronize-selected-items-of-infragistics-silverlight-controls-to-a-viewmodel
Devin