Hello,
Using recent version xxx.1425,35 I found that things have been corrected concerning export, but I am still unable to avoid exporting of child tables when i export to excel.
Here is part of my server code when the export button is clicked
foreach (GridDataItem item in RadGrid1.Items)
{
if (item.HasChildItems && CBNoExportProductLines.Checked)
{
GridNestedViewItem nestedViewItem = item.ChildItem;
foreach (GridDataItem childItem in nestedViewItem.NestedTableViews[0].Items)
{
childItem.Display = false;
}
}
}
but it has no effect because a new automatic rebind for the detail grid is triggered just after this and all items get display=true.
Is there any global way to say that I don't need to export these details ?
Thanks for help.
CS
Using recent version xxx.1425,35 I found that things have been corrected concerning export, but I am still unable to avoid exporting of child tables when i export to excel.
Here is part of my server code when the export button is clicked
foreach (GridDataItem item in RadGrid1.Items)
{
if (item.HasChildItems && CBNoExportProductLines.Checked)
{
GridNestedViewItem nestedViewItem = item.ChildItem;
foreach (GridDataItem childItem in nestedViewItem.NestedTableViews[0].Items)
{
childItem.Display = false;
}
}
}
but it has no effect because a new automatic rebind for the detail grid is triggered just after this and all items get display=true.
Is there any global way to say that I don't need to export these details ?
Thanks for help.
CS