PDF is not working for cell with multiple lines

PDF is not working for cell with multiple lines

rprp Posts: 4Questions: 2Answers: 0
edited November 2015 in Free community support

var routesHtml = "";
waveArray = rollAll.rollFromRoute.split(";");
if (waveArray.length > 0) {
$.each(waveArray, function(j, route) {

                    routesHtml += '<a style="margin-left:5px;" target="_blank" href="/config/routeDetailTable.do?routeName=' + route+ '">&nbsp;' + route+ '</a>';


            routesHtml +=  '<br>';
            routesHtml +=  '\n';

        }); 

    }

circuitRollsTable.row.add([rollAll.circuitID, rollAll.projectID, wlink, aEnd, zEnd, routesHtml, channellink, muxlink, mux2link, rollAll.circuitTypeName, wlink2, aFromEnd, zFromEnd, routesHtml2, channellink2, muxlink2, mux2link2, rollAll.forcastDate, rollAll.actualDate, rollAll.sticket, rollAll.notes,plink]);

When we use 'pdf' export, it got to single line.

I like to get export as it is displayed in the table.

This discussion has been closed.