BoldDeskWe are launching BoldDesk on Product Hunt soon. Learn more & follow us.
Hi
Om,
Thank you for
contacting Syncfusion support.
If you want to
handle CurrentCellEndEdit event of DetailsViewDataGrid means then you need to
hook that event for DetailsViewDataGrid not for MasterDataGrid. Please find the
code snippet to hook CurrentCellEndEdit event of DetailsViewDataGrid.
Code snippet: [XAML]
<syncfusion:SfDataGrid.DetailsViewDefinition> <syncfusion:GridViewDefinition RelationalColumn="OrderDetails"> <syncfusion:GridViewDefinition.DataGrid> <syncfusion:SfDataGrid x:Name="FirstDetailsViewGrid" AllowEditing="True" CurrentCellEndEdit="FirstDetailsViewGrid_CurrentCellEndEdit_1" NavigationMode="Cell"> <syncfusion:SfDataGrid.Columns>
<syncfusion:GridTextColumn MappingName="OrderID"
/>
<syncfusion:GridTextColumn MappingName="ProductID" TextAlignment="Right"
/> </syncfusion:SfDataGrid.Columns> </syncfusion:SfDataGrid> </syncfusion:GridViewDefinition.DataGrid> </syncfusion:GridViewDefinition> </syncfusion:SfDataGrid.DetailsViewDefinition> |
Sample: http://www.syncfusion.com/uploads/user/directTrac/123477/Sample787874644.zip
Please
let us know if you have any queries.
Regards,
Saravanan
C
Hi
Om,
We have created a sample to wire the CurrentCellEndEdit event
for DetailsViewDataGrid from code behind. We can
get event notification at all time when we finish
edit and move any other cell in DetailsViewDataGrid. Please find the code
snippet and sample in the following location. If
you do not get CurrentCellEndEdit event
notification for DetailsViewDataGrid, then please modify the sample along with
replication procedure. That will help us to provide a solution sooner.
Code
Snippet[C#]:
this.FirstDetailsViewGrid.CurrentCellEndEdit +=
FirstDetailsViewGrid_CurrentCellEndEdit; void FirstDetailsViewGrid_CurrentCellEndEdit(object sender,
Syncfusion.UI.Xaml.Grid.CurrentCellEndEditEventArgs args) {
//throw new NotImplementedException(); } |
Regards,
Saravanan
C