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

Selecting cell(s) in RadGridView

6 Answers 259 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Steve Evans
Top achievements
Rank 1
Steve Evans asked on 17 Jun 2010, 03:02 PM
Hi,

I would like to know  if there is a way to select an individual cell/cells in a RadGridView rather than an entire row and if so, how one goes about it.

Thanks in advance, Steve

6 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 17 Jun 2010, 03:10 PM
Hello Steve,

 Please check our Q2 2010 Beta selection demo for more info. The official release will be early next month.

Best wishes,
Vlad
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
0
Steve Evans
Top achievements
Rank 1
answered on 17 Jun 2010, 03:46 PM
Hi,

Thanks for the swift reply. Is there any chance that you could attach that demo or an extract of it to this thread please as I can't seem to get the XBAP to run properly in any of the browsers that I have installed.

Thanks, Steve
0
Pavel Pavlov
Telerik team
answered on 17 Jun 2010, 04:37 PM
Hello Steve Evans,

All QSF examples are available ofline as well  as a part of the beta download. If you download and install the beta , you can find the cell selection example inside the demo application.

Best wishes,
Pavel Pavlov
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
0
Steve Evans
Top achievements
Rank 1
answered on 18 Jun 2010, 11:12 AM
Hi,

Thanks for the update, I have looked at the cell selection demo now. The behaviour of the grid when SelectionUnit="Cell" is kind of what I want in so far as the user can select a single cell or multiple ones. However, I would like to be able to restrict the user to be able to select a single or multiple cells but only within a single column at any one time NOT within any column. Is there any way to do this?

Also, what I am now trying to understand is how I can work the info available when the selected cells are changed - how can I associate the selected cells with the underlying bound items in in the item source of the grid? Additionally, I am using an MVVM approach and wish to utilise bindings into my VM where possible.

Any info would be great. Thanks in advance.

Steve

0
Steve Evans
Top achievements
Rank 1
answered on 21 Jun 2010, 09:44 AM
Hi,

Could someone get back to me regarding my last post please.

Many thanks.

Steve
0
Milan
Telerik team
answered on 22 Jun 2010, 01:00 PM
Hi Steve Evans,

For now we do not have plans to a allow restrictions on cell selection but we will consider your feedback.

In regards to the second question, each GridViewcellInfo exposes a property called Item which refers to the data item of a particular cell. This blog post demonstrates how you can use MVVM to control the SelectedItems of RadGridView. Maybe something similar can be created to sync SelectedCells.

I have updated your Telerik points. 


Regards,
Milan
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
Steve Evans
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Steve Evans
Top achievements
Rank 1
Pavel Pavlov
Telerik team
Milan
Telerik team
Share this question
or