Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Data Buffer
Gumbel
Hi,
I have worked a lot with Actuate before, and often used AcMemoryBuffers to handle data. That is a object acting like a data source, but you have methods like "AddRowToBuffer" "Rewind" and such, so you can very easy store and handle data in a convenient way. Do I have anything like that in the BIRT environment?
Find more posts tagged with
Comments
mwilliams
Hi Gumbel,
Can you please explain more of exactly what you're wanting to achieve, so that we can see if there's something in BIRT that can do what you're wanting? Thanks!
Gumbel
Hi again,
I want to, for example, be able to create a DataSet, maybe handle data a bit and then add data from the DataSet to a buffer. Create a new DataSet, add data from that one to the buffer, and so on.
Then I want to be able to rewind the buffer, maybe resort, and use the buffer as a usual DataSet to be bound to a table for example.
If it is possible to create a DataSet -object in code, add data rows to the set, rewind, resort and search in the created DataSet, and in the end bind the DataSet to a table for presentation, it will be solved....
mwilliams
Gumbel,<br />
<br />
Currently, BIRT doesn't have a dataSet object like what you've described. BIRT does, however, support complex sorting and filtering if you can have all of your possible data in 1 dataset and use the sorting and filtering to get the results you want. Another possibility would be that you could create a javascript array in the onFetch method of a dataSet. You could then sort, add to, and remove values from that...Then use a scripted dataSource to read that array and bind it to a table in your report.<br />
<br />
You could also put in an enhancement request for this at <a class='bbc_url' href='
http://www.eclipse.org/birt/phoenix/reportabug.php'>BIRT
: Reporting Bugs and Requesting Enhancements</a> and see what comes of it. Then you could possibly see this functionality in a later version of BIRT.<br />
<br />
Hope this helps.
Gumbel
Thanks a lot Michael,
I will try these solutions....
Regards