I am exporting a grid with two bands and the first row (band[0]) is exporting with an extra column. All the other columns are fine including the child band rows. I have already set the indention to 0 so I don't know why this is happening. Ideas?
Row 3 is shifted over by either an extra column or extra cell.
Hi,
Could you please send us your example. If you have not possibility to send your sample, please try to modify my project (look the attachment) to achieve this issue. It is difficult for me to reproduce your case and to answer why it is happen. Please provide me steps, how to reproduce it.
Thanks
Georgi
Would I be able to export the grid to XML so you can apply it to one of your grids? and then when you export it the problem should be there. What do you think?
-Ken
Hi Ken,
kvillines said: Would I be able to export the grid to XML so you can apply it to one of your grids? and then when you export it the problem should be there. What do you think? -Ken
There's no way I know of to directly export the grid to xml in one shot.
If you are using a DataSet/DataTable as your grid's DataSource, then there is a SaveToXML method you could use the save the data structure and the data. You could then put a new grid on a form and load the data into a new DataSet/DataTable.
UltraDataSource also has method to save and load the data structure and the data to xml.
You could also save the grid layout using the grid.DisplayLayout.Save/Load methods. That should get something pretty close to your real application and you could see if the same problem occurs. If so, you can attach your sample here by going to the Options tab.
I made small sample with two bands and export to excel for you. Could you please take a look at attached project and let me know if this is what you are looking for. Also please instal our latest service release, if you did not do it yet. Please keep me in touch.
Regards
No progress on this issue....yet.
Hi
Do you have progress with this issue. Please keep me in touch
Ok, I guess I have a bit more work. I thought I could just call DisplayLayout.Save() and that it would save the whole grid (data and all)....bummer. I will have to give these steps a try and throw a small app together this weekend and try to reconstitute the data and grid.
I will post my findings with a sample if I can repo the problem.
thanks