Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Table is not getting printed with center alignment in Generated report using RPE template with DNG datasource

 Hi All,


I have made the alignment of the table center in DNG, but in generated RPE report the table is getting printed with left alignment.

Kindly help me to align the table in center.

Script Express used for printing non heading as mentioned below:

var match = {};

var patt = /(<table[^>]>(<caption[^>]>(?:.|\n)?<\/caption>)?(?:.|\n)?<\/table>)/g;

while (match = patt.exec(div)) {

  var table = match[1];

  var caption = match[2];

  if (caption)

  {

  table = table.replace(caption, "");

  table = '#spcaptionstart:' + caption +  table;

  div = div.replace(match[1], table);

}

}

div;

Thanks in Advance.

Regards,
Prashanth 

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: May 31 '21, 3:15 a.m.

Question was seen: 486 times

Last updated: May 31 '21, 3:15 a.m.

Confirmation Cancel Confirm