Problem with export pdf templatecolumn

Hello, I use a template column to show more information on the screen.  It's working well...

But when I do an export pdf, the column is not shown at all at the pdf.  Is it by design or it's a bug ?

how can I have a column template in an export pdf?

            <ColumnsDirective>

              <ColumnDirective

                field='code'

                headerTemplate={() => {

                  return (<div><b className='e-header'>Code</b></div>);

                }}

                template={this.columnTemplate}

                width='150'>

              </ColumnDirective>

</ColumnsDirective>



  columnTemplate(props) {

    return <div className='columnTemplate d-flex flex-column justify-content-center' style={{ height: '45px' }}>

      <p style={{ marginTop: '10px', marginBottom: '1rem' }}>{props.taskData.code}</p>

      <p style={{ marginTop: '10px', marginBottom: '1rem' }}> {props.taskData.projectManager}</p>

    </div>

  }



1 Reply

MS Monisha Sivanthilingam Syncfusion Team July 13, 2021 09:17 AM UTC

Hi Frédéric, 
 
Greetings from Syncfusion support. 
 
Currently, we do not have support to export template columns to PDF in Gantt Chart. However, we have already logged a feature report for it. You can track its status from the below feedback link. 
 
Feedback: https://www.syncfusion.com/feedback/15817/provide-complete-ui-design-in-exported-pdf-document                                                                                                        
 
As we have already lined up some major features, we could not implement this support immediately. We will implement this and include it in any of our upcoming releases. Please cast your vote on this feature. Based on the customer demand we will prioritize the features in our upcoming road map. 
 
Regards, 
Monisha. 


Loader.
Up arrow icon