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

Export Excel in hierachy grid

4 Answers 67 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Pdd
Top achievements
Rank 1
Pdd asked on 12 Jul 2008, 03:28 PM
Hi,

when I exported radgrid to excel ( html format), there is a blank column for the masterview and also detailtables. How can I remove that column?

Thanks

4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 14 Jul 2008, 06:37 AM
Hi Pdd,

Which version of the Grid are you using? I have found the following forum links which discuss a similar issue. Go through it and see whether it helps.

Export to Word, Excel problem
Hide and expose columns on Export to Excel

Thanks
Princy.
0
Pdd
Top achievements
Rank 1
answered on 14 Jul 2008, 09:08 AM
Hi,
thank you  for your answer. I'm using version 2008.1.515. I've tried all the links you gave me, but nothing changed. Btw, now I can hide the blank column in masterview (it is ExpandColumn), but in detailtables I dont know the name of the blank column and couldnot access to change its properties neither.
0
Shinu
Top achievements
Rank 2
answered on 14 Jul 2008, 10:05 AM
Hi Pdd,

Have you set AllowRowResize property of the Grid to true? Try setting it to false to remove the RowIndicatorColumn or you can hide the Column as shown below also.

CS:
RadGrid1.MasterTableView.GetColumn("RowIndicator").Visible = false



Thanks
Princy.
0
Pdd
Top achievements
Rank 1
answered on 14 Jul 2008, 10:23 AM
Hi,
I tried it, but still problem. In Masterview it is expandcolumn (i can hander it  on ColumnCreated), in  detailtables  i dont  know its name and  there is no OnColumnCreated event for  detailtables

Tags
Grid
Asked by
Pdd
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Pdd
Top achievements
Rank 1
Shinu
Top achievements
Rank 2
Share this question
or