5 Answers, 1 is accepted
Thank you for writing.
From the information you have provided I cannot figure out what you want to accomplish. I would kindly ask you to specify in more details what you are trying to achieve, so I can provide you with accurate and meaningful support.
I am looking forward to your reply.
Ivan Petrov
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
I do not want to have columns in the exported html table set to fixed widths. By default, exporting the grid is producing html with col element tags such as <col style="width: 24px;"></col>. I do not want the table I export into generated html to have these predefined col widths as I want the table to size more dynamically based on the content and styling of its cells.
Thank you for the clarification.
I understand what you want, but currently this is not supported by the export to HTML functionality of RadGridView. I am happy, though, to inform you that this functionality will be added in our upcoming service pack, which is due at some point this month. We will also add functionality to handle the cell text wrapping which originates from the fact that you can set different column widths and text wrapping should also be handled.
I hope you will find the new functionality useful. If you have other questions or feedback, we would love to hear it.
Ivan Petrov
the Telerik team
Q3’11 of RadControls for WinForms is available for download (see what's new). Get it today.
Nm, I just found the property.
Thank you for writing.
I am glad you have found your way in this. In case anyone else is searching for the same information there is a section in our online documentation on ExportToHTML called Columns Width options which explains how to handle the widths of the columns and the cells text wrapping.
If you have further questions, I would be glad to help.
Greetings,
Ivan Petrov
the Telerik team