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

Serializing the Grouping.Engine/Table

Thread ID:

Created:

Updated:

Platform:

Replies:

102387 Jan 26,2012 04:11 PM UTC Feb 1,2012 12:19 PM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: Grouping
Marc Luzoff
Asked On January 26, 2012 04:11 PM UTC

Hi,
we would like to use the Syncfusion.Grouping.Engine in a Web Service to process (group and sort) a DataTable and then serialize the formatted data into xml/json and send it back to the client. Is there a way to serialize the resulting data structure automatically? From what I have read about the GridGrouping, the controls seem to work that way.

What I am looking for is something like this:

DataTable reportData = GetRawReportData(report);

Engine engine = new Engine { RecordAsDisplayElements = true };
engine.TableDescriptor.GroupedColumns.Add("City");
engine.TableDescriptor.SortedColumns.Add("LastName");
engine.SourceListSet.Add(reportData);
engine.SetSourceList(reportData.DefaultView);
engine.Table.ExpandAllRecords();

XmlSerializer serializer = new XmlSerializer(typeof (Table));
serializer.Serialize(HttpContext.Response.OutputStream, engine.Table);

Best Regards


Kalaiarasan B [Syncfusion]
Replied On February 1, 2012 12:19 PM UTC

Hi Marc,

Thank you for your interest in Syncfusion products.

We have no support for Grouping in ASP.NET, MVC. We have already logged this as a feature request in our database. We will implement this feature in any of our upcoming releases. We usually have an interval of at least three months between releases. The feature implementation would also greatly depend on the factors such as product design, code compatibility and complexity.

We will let you know once this feature has been implemented.

Please let me know if you have any further concerns.

Regards,
Kalai


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

;