This is a migrated thread and some comments may be shown as answers.

GridViewSelectColumn with MVVM

6 Answers 79 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Gopinath
Top achievements
Rank 2
Gopinath asked on 12 Dec 2012, 11:40 AM
Hi

I am using the GridViewSelectColumn in my gridview. I want to make all the items checked while loading data in the gridview. Is there any property or other way to do this?  

I want to implement this in MVVM way.

In some cases i need to check only few rows... how this can be achieved in the MVVM way.

Thanks
Gopinath

6 Answers, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 12 Dec 2012, 12:03 PM
Hi,

Can you please refer to my reply in the other thread of yours? I believe that the described behavior should be working fine with GridViewSelectColumn. Please, do not hesitate to contact us if any additional help is needed.

Kind regards,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Gopinath
Top achievements
Rank 2
answered on 12 Dec 2012, 01:08 PM
Hi Ivan Ivanov,

With the described behavior as mentioned in the thread is not working when i try to loading back from parent to child.

Items are not getting selected when the grid loads.

Ex: I am having child window which contains the grid-view, The grid-view contains the GridViewSelectColumn . With the help of behavior i am able to get the  selected items list in MVVM pattern. 

I am passing that list to parent window.

When this child-window again opens from Parent Window, i need the grid-view should contain the selected list back in that. I am passing the list(which was sent from child to parent) from parent to child . But the grid items are not in selected mode.
0
Ivan Ivanov
Telerik team
answered on 17 Dec 2012, 04:56 PM
Hi,

 May I ask you to send your project through a support ticket. I believe we can easily adapt the behavior to your scenario.

All the best,
Ivan Ivanov
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

0
Gopinath
Top achievements
Rank 2
answered on 19 Dec 2012, 11:29 AM
Hi Ivan Ivanov,

Sorry, i cannot share my project as it is secured and huge one.

Can you please share me the sample project from your end , so that it wil help in solving my issue.

Thanks
Gopinath
0
Gopinath
Top achievements
Rank 2
answered on 21 Dec 2012, 12:45 PM
Hi Ivan Ivanov,

Can you please share the sample project please.

I will be waiting for your response.

Thanks
Gopinath
0
Maya
Telerik team
answered on 24 Dec 2012, 08:48 AM
Hi Gopinath,

Did you check out the project in the blog post mentioned above ?
On a side note, it is not obligatory to send us your original project. Sending a simple one with dummy data that reproduces the behavior is good enough. You run through this post on how to prepare a sample application.  

Kind regards,
Maya
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
GridView
Asked by
Gopinath
Top achievements
Rank 2
Answers by
Ivan Ivanov
Telerik team
Gopinath
Top achievements
Rank 2
Maya
Telerik team
Share this question
or