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

Single click cell should me in edit mode

4 Answers 329 Views
GridView
This is a migrated thread and some comments may be shown as answers.
venkateshwarreddy
Top achievements
Rank 1
venkateshwarreddy asked on 13 Oct 2008, 03:55 PM
Hi team ,

Please as soon as possible send me by tomorrow morning.


i need on Single click cell should be in edit  mode.currently when we double click we are getting cell in edit mode


Thank you.

4 Answers, 1 is accepted

Sort by
0
Accepted
Christopher
Top achievements
Rank 1
answered on 13 Oct 2008, 04:04 PM
Hi there venkateshwarreddy,
   I am not a member of the telerik team, however I needed this same behavior in my current project.  Here is how I implemented it.

1. In your XAML create an event setter for the GridViewCell MouseUp event.
<Style TargetType="radGrid:GridViewCell"
     <EventSetter Event="MouseUp" Handler="Cell_MouseUp" /> 
</Style> 

2. In the Cell_MouseUp event handler set the cell to be in edit mode.
private void Cell_MouseUp(object sender, MouseEventArgs args) 
     ((GridViewCell)sender).IsInEditMode = true


Hope this helps,
  Chris










0
venkateshwarreddy
Top achievements
Rank 1
answered on 13 Oct 2008, 06:06 PM
Hi

Thank you very much




Thank you.
0
ranu
Top achievements
Rank 1
answered on 20 Oct 2008, 01:41 PM
Hi Team,

How to check for isexpanded    property  in radgridview .

Thankyou.
0
Atanas
Telerik team
answered on 20 Oct 2008, 02:10 PM
Hi ranu,

The IsExpanded property is typical for our GridViewExpandableRow (when using hierarchy) and GridViewGroupRow (when using grouping). Please give us more details about your scenario, or send a sample project to make us easier to help you.

Best wishes,
Atanas
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
venkateshwarreddy
Top achievements
Rank 1
Answers by
Christopher
Top achievements
Rank 1
venkateshwarreddy
Top achievements
Rank 1
ranu
Top achievements
Rank 1
Atanas
Telerik team
Share this question
or