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.

SourceListChangeEvent

Thread ID:

Created:

Updated:

Platform:

Replies:

63135 Jun 28,2007 10:59 AM Jul 4,2007 01:55 PM Windows Forms 3
loading
Tags: GridControl
Harshad
Asked On June 28, 2007 10:59 AM

Hi,

I am using GGC. Grid has binded to the EntityCollection and group columns are unbound. When my Data Source i.e Entity collection is modified i.e new record is added to the entity then My Grids SourceListListChanged event is raised.
But in the grid new grouping record is not get displayed..instead a blank row is displayed. When I open the screen again then those group rows are displayed properly. Please see attached image.
The solution i found is I have to call grid.Reinitialize() method in grid's SourceListListChanged event then group row is displayed properly...
This problem has started suddenly earlier group rows used to display properly.
Please can you help me in solving this problem why i am getting blank group row...? Should i have to do any changes in my entity collection framework..?


GGC13.zip

Jeba S [Syncfusion]
Replied On July 2, 2007 12:58 AM

Hi Harshad,

Thank you for your screenshot.

You can handle the SourceListListChanged event and set the e.ShouldResetCurrentRecord to true.

private void gridGroupingControl1_SourceListListChanged(object sender, Syncfusion.Grouping.TableListChangedEventArgs e)
{
e.ShouldResetCurrentRecord = true;
}


Kindly let us know if this helps.

Best Regards,
Jeba.

Harshad
Replied On July 4, 2007 09:18 AM

Hi,

Thanks for the reply. but This solution doesnt work. Actully problem is reflecting group & summary rows on change of Datasource. If there is new row at record level then it display in the grid. but if data source is get modified to have new grouping row then grouping rows doesnt reflect in grid automatically and Just blank white row appear. After grid.Reinitialize method called, group row(group caption summary row)displayed properly in the grid.
please give some pointer to solve this. I dont want to Reinitialize grid because it then collapse all the groups and takes time

haneefm [Syncfusion]
Replied On July 4, 2007 01:55 PM

Hi Harshad,

Below is a forum thread that discuss with the similar issue.
http://www.syncfusion.com/support/Forums/message.aspx?&MessageID=62630

Best regards,
Haneef

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.

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.

;