Hi all,
I have a need to export the contents in a ComponentArt Grid into a file, preferably excel in csv format.
I was wondering if anyone had any ideas how to best approach this task. At the moment we have the grid being populated with data, and using client templating some minor manipulation is being performed before it is displayed to the user.
An example of a template that is applied is:
<ComponentArt:ClientTemplate Id="PostTemplate">
## DataItem.GetMember("LastPostBy").Value ##<br />## DataItem.GetMember("LastPostDate").Value ##
</ComponentArt:ClientTemplate>
Where the column definitions are:
<ComponentArt:GridColumn Width="140" HeadingText="Last Post By " DataCellClientTemplateId="PostTemplate" />
<ComponentArt:GridColumn DataField="LastPostBy" Visible="false" />
<ComponentArt:GridColumn DataField="LastPostDate" Visible="false" />
So when the grid is exported I would like the file to contain what is in the grid at the moment of export including any templated changes that may be visible if possible.
Thank you in advance for your assistance.