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

[Solved] CellEditEnded not working

1 Answer 153 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.
Randy
Top achievements
Rank 1
Randy asked on 10 Nov 2010, 07:20 AM
For some reason I cannot get the CellEditEnded event to fire after I leave this cell.  If I put a breakpoint right above where I test for column name, it never hits it.  Can anyone help?

<telerik:RadGridView Margin="{StaticResource InnerMargin}" 
              ShowGroupPanel="False" 
              CanUserDeleteRows="False" 
              AutoGenerateColumns="False" 
              Name="_rgvGoalPolicySetupEntry" 
              ShowInsertRow="False" 
              ShowColumnFooters="True" 
              CanUserFreezeColumns="False"
              CellEditEnded="_rgvGoalPolicySetupEntry_CellEditEnded">
    <telerik:RadGridView.Columns>
        <telerik:GridViewDataColumn UniqueName="JanPolicy" Header="Jan" DataMemberBinding="{Binding JanPolicyGoal}" MinWidth="50" DataFormatString="{}{0:#,###}" TextAlignment="Right" FooterTextAlignment="Right">
            <telerik:GridViewDataColumn.AggregateFunctions>
                <telerik:SumFunction ResultFormatString="{}{0:#,###}"/>
            </telerik:GridViewDataColumn.AggregateFunctions>
        </telerik:GridViewDataColumn>
    </telerik:RadGridView.Columns>
</telerik:RadGridView>

private void _rgvGoalPolicySetupEntry_CellEditEnded(object sender, GridViewCellEditEndedEventArgs e)
{
    if (e.Cell.Column.UniqueName == "JanPolicy")
    
   
    }
}

1 Answer, 1 is accepted

Sort by
0
Maya
Telerik team
answered on 10 Nov 2010, 09:52 AM
Hi Randy,

I have tried to reproduce the issue you specified, but I was not able to. I am sending you the sample project I used for testing the problem. Let me know if there is some misunderstandings according to your requirements.

Greetings,
Maya
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
Randy
Top achievements
Rank 1
Answers by
Maya
Telerik team
Share this question
or