Bhaskar
Bhaskar

Reputation: 143

Format the design of the table exported to excel using display tag

Is it possible to design the look of table that is exported to excel using display tag (as like in jxl) i couldn't find any information regarding this topic.Does anyone has any ideas?

      <display:table id="data" name="sessionScope.UserForm.actorList" requestURI="/userAction.do" pagesize="10" export="true" >
        <display:column property="tvShow" title="TV Show" sortable="true"   />
        <display:column property="userName" title="User Name" sortable="true"  />
        <display:column property="emailId" title="Email Id" sortable="true"  />
        <display:setProperty name="export.excel.filename" value="Details.xls"/>
        <display:setProperty name="export.pdf.filename" value="Details.pdf"/>
        <display:setProperty name="export.pdf" value="true" />
     </display:table>

Upvotes: 0

Views: 862

Answers (1)

Sarjith Pullithodi
Sarjith Pullithodi

Reputation: 89

i am not sure my answer can suit your case. you can define your own exporting class. you can define that class by extending current excel export class. perhaps your goal can be achieved a little modification on that new class.

Upvotes: 1

Related Questions