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

[Solved] Keep more than one cell in edit mode.

3 Answers 114 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
ss
Top achievements
Rank 1
ss asked on 25 Jun 2010, 04:30 PM
Hello,

I would like to switch more than one cell to EDIT MODE. I tried to use IsInEditMode propery but it doesnt work.Do you know some idea how to keep in EDIT MODE more than one cell?

My next question is how to access RadGridView columns if IsVisible property of columns is set to false.

Thank you for your help.

3 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 28 Jun 2010, 07:18 PM
Hi ss,

Currently RadGridView does not allow several cells to be in edit mode at the same time.

In regard to your second question, if a column is not visible its cells are not displayed and cannot be accessed. 

If you could give us more information about the functionality that you are trying to implement we should be able to 


Greetings,
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
0
Phillip Garrett
Top achievements
Rank 1
answered on 31 Aug 2010, 01:54 PM
Hi,

I had a similar query.

Can an edit in one row be applied across all currently selected rows easily?

and on the other point, can I show/hide columns?

Thanks,

Phill
0
Milan
Telerik team
answered on 03 Sep 2010, 11:09 AM

Hello Phillip Garrett,

This could be achieved with some custom code. First you need to disable the default handling of Enter key which will commit the current edit operation but also move to the next item, select that item and unselect all others. This behavior can changed with a simple custom KeybordCommandProvider. You can find more information about KeyboardcommandProvider here.

The last step is to handle the CellEditEnded event and updated all selected items with the newly committed property value.

You can use the attached project as reference.

You can easily hide/show columns by modifying the IsVisible property of a column.


Greetings,
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
ss
Top achievements
Rank 1
Answers by
Milan
Telerik team
Phillip Garrett
Top achievements
Rank 1
Share this question
or