We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Confusion about NestedGrid

Thread ID:

Created:

Updated:

Platform:

Replies:

109828 Jul 5,2013 12:39 PM Sep 5,2013 11:26 PM WPF 3
loading
Tags: GridControl
MaxLu
Asked On July 5, 2013 12:39 PM

Hi,

    I am developing an WPF application (C#) with the nestedgrid using Syncfusion version 10.2.
    When I changed the column of nestedgrid to different type of celltype, for example, checkbox, I found it hard to click. It often needed me to click twice to check/uncheck the checkbox.
    Besides that I found the data binding of nestedgrid cell to field was not good. It seemed that unless the cell lost its focus, then the source could be updated. Otherwise, the source stayed unchanged.
    I made the experiment on the sample (nestedgrid in VS 2010), and the issues occur as well. 
    Can you please give me a solution to that? Better with a simple sample. Many thanks to your attention and efforts.

MaxLu
Replied On July 5, 2013 09:08 PM

Hi, some more details:

1. The UpdateSourceTrigger has been set PropertyChanged.
2. In a normal grid, the data binding is fine. It does not work in nested grid. I set a button  outside the grid to delete the save/delete the data in grid. If in a nested grid, when I finished editing the cell and clicked the button, the changes in the last cell I edited would not in the datacontext of that row. That means I changed the UI, but cannot save the data. I wonder if it is about the focus.

Thanks for your time. It is urgent so that I am very looking forward to your solutions.

MaxLu
Replied On July 5, 2013 09:12 PM

Sorry for the mistakes

I set a button  outside the grid to delete the save/delete the data in grid. 
Should be
I set a button  outside the grid to save/delete the data in grid.

Gobinath A [Syncfusion]
Replied On September 5, 2013 11:26 PM

Hi Maxlu,

 

Sorry for the delay to getting back to you.

 

We have analyzed your query and we implemented in following requirement in the attached sample.

1.       Different Celltype in NestedGrid.

2.       Implemented INotyfyPropertyChanged in Nested Grid for notify the underlying collection while changing the value from the grid.

3.       Change the Nested ItemSource when click the button.

 

Please find the sample under the following location.

                      

Sample: NestedWithObserveCollection.zip

 

Please let us know if you have any queries.

 

 

Regards,

Gobinath A

 

 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;