OK.. I give up.. I can get a basic export working, but I'd like to add a few rows before the export to show Client Name, Job, Address, etc.. 2 hours now and I have nothing working! I've checked the on line examples and they are, to be nice, pathetic...
I assume this is handled on the _BeginExport Method.. Where from there. anything I try using the BeginExportEventAgrs parameter get me nothing...
Also, my formatting of Int columns in my grid is correct (comma where applicible), but these formats DO NOT come over to Excel. Do I have to reformat all my cells?
I like your stuff, but you frustrate the hell out of me..
Thanks...
For example, If i group data by a field named as "Country", then the first row in the excel is
i need to move that to 2nd row, so that i can add some text in first row. I have given the code "e.CurrentRowIndex++;" in _BeginExport,_RowExporting,eExporter_HeaderRowExporting, _Summary, RowExporting. But still taht row in not moving. any idea.?
SabarishJayaraman said:why it is not working for grouped grid.?
What's the problem. I don't see why this would make any difference, although you will have to account for the indentation of the child rows, I guess.
Hi,
thanks for the reply.
why it is not working for grouped grid.?
any solution for that.?
SabarishJayaraman said: The same proble in RowExporting event. do i hav to give e.CurrentRowIndex++ in each event??
Yes, if you want to place data in a row and have the exported skip that row, you need to increment the CurrentRowIndex.
this code is not working when i group the records. I am not able to add any extra rows above the grid data. wat to do for this.?