BIRT Exchange Forum: Formatting a data field in a pivot table - BIRT Exchange Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Formatting a data field in a pivot table Rate Topic: -----

#1 User is offline   JBonavita 

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 22-June 09

Posted 22 June 2009 - 11:44 AM

We need to format the data fields in a pivot table as we create it.
I've trying:
FieldSettings fieldSettings = dataField.getFieldSettings();
NumberFormat nf = fieldSettings.getNumberFormat();
nf.setCustomFormat("#,###.##;;;");
dataField.setFieldSettings(fieldSettings);

But there resulting pivot table doesn't have any formatting applied.

Any ideas?

Thanks,
Joe
0

#2 User is offline   JBonavita 

  • Junior Member
  • Pip
  • Group: Members
  • Posts: 4
  • Joined: 22-June 09

Posted 23 June 2009 - 04:00 AM

I found an example here:
http://www.birt-exch....10.html#140909
0

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users