Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
130
Styling export WebDataGrid without css class
posted

Hi,

I have question about export WebDataGrid to excel file.
I want to format style of specific cells just before export. But the problem is, that I can't use CSS class - I need to do it inline (colors are hex from database).
I've tried to do it in many ways, but I don't know how to do it.

Can you give me a hint or show me tutorial with solution?

Thanks fo your help :)

Parents
  • 10240
    posted

    Hi TT,

    Would setting the styles of a cell upon export based on the Hex code on the server-side be an option for you? The WebExcelExporter has a server-side CellExporting/ed event that we can use, but the exporter doesn't expose a Client-Side-Object-Model.

    To be able to do this on the client will be a new product idea for the WebExcelExporter. You can log this as a new product idea by navigating to this page (http://ideas.infragistics.com )

     

Reply Children
No Data