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

GridView is this possible

1 Answer 42 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Ravi
Top achievements
Rank 1
Ravi asked on 08 Apr 2011, 10:51 AM
Hi please find the image attached. I trying to figureout whether its possible in RadGridView. the columns also will grow and rows also will grow. I mean to say in the image tomorrow there can be another new country added as well as there can be a new state also be added. which ever has the checkbox checked that means there is an associate between the country and state.

Please send the reply to shpa@infinera.com

Thanks,
Shiras

1 Answer, 1 is accepted

Sort by
0
Vanya Pavlova
Telerik team
answered on 11 Apr 2011, 12:28 PM
Hello David,

 
RadGridView does not suppport merged cells behavior, however you may easily emulate is using the approach demonstrated in the following blog post. Regarding to the columns and the internal logic of the application you may use our built-in GridViewCheckBoxColumn or to define your custom column with a single checkbox in it, please refer to the following article. Once specified you may bind the CheckBox's IsChecked property to the property value of your underlying business object that holds the information about the relation between Country and State. Furthermore you may enumerate the States in the same way as it was implemented at the following online demo. 



If you need any further assistance please let me know.


Best wishes,
Vanya Pavlova
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Ravi
Top achievements
Rank 1
Answers by
Vanya Pavlova
Telerik team
Share this question
or