SfDataGrid’s CurrentCellBeginEdit event allows you to get the grid’s information while editing. By hooking this event within the nested grid you can get the parent grid’s information in the nested grid by invoking GetParentDataGrid method. The following code example demonstrates how to get the parent grid while editing the child grid. C#
Here the nested grid is acquired from the argument of the CurrentCellBeginEdit event. Then by invoking the GetParentDataGrid method that returns the parent grid’s information, the parent grid is obtained. Sample Links:
|
Article ID: | Published Date: | Last Revised Date: | Platform: | Control: | .NET Framework: | Product Version: |
4907 | 05/18/2015 | 01/22/2016 | WinRT | SfDataGrid | 4 | 12.1.0.43 |
or the page will be automatically redirected to sign-in page in 10 seconds.