Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Setting Formats for content in a table i.e. Date,String and Number formats
Migrateduser
<p>Greetings,</p><p> </p><p>Hi, I am actually using birt engine api and writing java classes to generate a rptdesign.</p><p> </p><p>Now I am facing problem to add formats such as date,string and integer formats for data in a column for table detail.</p><p> </p><p>But I am unable to do that,where as I am sucessfull in setting up font size,alignment for a table detail using <strong>setProperty</strong> method.</p><p> </p><p>Please help me in setting up a format for a table detail value. I am adding the code which i tried to set the formats for table detail.</p><p> </p><p><strong>Code:</strong></p><p>DataItemHandle data = reportDesignHandle.getElementFactory().newDataItem("nameData");</p><p>data.<strong>setProperty</strong>(StyleHandle.STRING_FORMAT_PROP, DesignChoiceConstants.STRING_FORMAT_TYPE_UPPERCASE);</p><p> </p><p>Thanks in advance.</p>
Find more posts tagged with
Comments
There are no comments yet