For serialize:
var serializationOptions = new SerializationOptions() {
SerializeFiltering = true,
SerializeCaptionSummary = false,
SerializeColumns = false,
SerializeDetailsViewDefinition = false,
SerializeGrouping = false,
SerializeGroupSummaries = false,
SerializeSorting = false,
SerializeStackedHeaders = false,
SerializeTableSummaries = false,
SerializeUnBoundRows = false
};
For Deserialize : var deserializationOptions = new DeserializationOptions() {
DeserializeFiltering = true,
DeserializeCaptionSummary = false,
DeserializeColumns = false,
DeserializeGrouping = false,
DeserializeDetailsViewDefinition = false,
DeserializeGroupSummaries = false,
DeserializeSorting = false,
DeserializeStackedHeaders = false,
DeserializeTableSummaries = false,
DeserializeUnBoundRows = false
}; |