Hello,
I am looking for a way to clone the ultra grid as it is – to get the all copy of it with all of its contains .
Thanks allot
Yaniv,
You could save the layout of the grid and then load it in a new grid, such as:
this.ultraGrid1.DisplayLayout.SaveAsXml("MyLayout.xml");this.ultraGrid2.DisplayLayout.LoadFromXml("MyLayout.xml");
You won't be able to copy the data since the grid does not maintain the data; this is the responsibility of the DataSource. You could bind the other grid to the same DataSource, but if you don't want the same changes to be reflected in both grids, you'd have to clone the DataSource as well.
-Matt
I’m afraid I need further assistance.
I need the Clone() method because I’m trying to export the grid into a PowerPoint table- I need to export all visible cells and rows, and keep the formatting that the grid currently have (including fonts, colors, etc.)
I’ve seen that in the Excel exporter you created, you create an exact clone of the grid – can’t you expose this method?
Thanks any way.
Thanks Matt.