Essential Grouping ASP.NET
Serializing the Grouping.Engine/Table
February 1, 2012 07:19 AM by Kalaiarasan B[Syncfusion]
Marc Luzoff
Serializing the Grouping.Engine/Table
January 26, 2012 11:11 AM
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]
Serializing the Grouping.Engine/Table
February 1, 2012 07:19 AM
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

::adCenter::