This is a migrated thread and some comments may be shown as answers.

Question about using the export to excel

1 Answer 64 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jose
Top achievements
Rank 1
Jose asked on 12 Dec 2012, 04:25 PM
Hi 

i'm trying to export a grid with 2 detail tables to excel, when i do the export in the excel documents appears 2 columns in color gray in front the text.  I dont understand where my problem because when i do this export from word and pdf works fine

Thanks in advance

There is my Code Behind :

grdcostcategory.ExportSettings.ExportOnlyData = False
            grdcostcategory.ExportSettings.IgnorePaging = False
            grdcostcategory.ExportSettings.OpenInNewWindow = True
            grdcostcategory.MasterTableView.HierarchyDefaultExpanded = False
 
            grdcostcategory.MasterTableView.UseAllDataFields = True
 
            grdcostcategory.ExportSettings.FileName = TL_CF_Configuration.Constants.ExportCostCategory.ToString
            grdcostcategory.MasterTableView.GetColumn("BtnEditImage").Visible = False
            grdcostcategory.MasterTableView.GetColumn("BtnNewClientLocationImage").Visible = False
 
            grdcostcategory.ExportSettings.HideStructureColumns = True
            grdcostcategory.GridLines = GridLines.Both

1 Answer, 1 is accepted

Sort by
0
Shinu
Top achievements
Rank 2
answered on 13 Dec 2012, 05:53 AM
Hi,

I cannot reproduce the issue at my end. Try setting ExportOnlyData as False and check whether it makes any difference. Hope this helps.

Thanks,
Shinu.
Tags
Grid
Asked by
Jose
Top achievements
Rank 1
Answers by
Shinu
Top achievements
Rank 2
Share this question
or