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. (Last updated on: November 16, 2018).
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 04:39 PM UTC Sep 6,2013 03:26 AM UTC WPF 3
loading
Tags: GridControl
MaxLu
Asked On July 5, 2013 04:39 PM UTC

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 6, 2013 01:08 AM UTC

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 6, 2013 01:12 AM UTC

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 6, 2013 03:26 AM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;