Dynamically sort a crosstable at render time [message #753970] |
Mon, 31 October 2011 09:57 |
donino donino Messages: 183 Registered: July 2011 |
Senior Member |
|
|
Hi,
I found nice examples of reports that apply dynamic cross-table sorts in the beforeFactory event, based on a report parameter. The drawback of this method is that datasets and sql queries are executed again, although nothing changed except crosstable rows sorting.
So i was wondering if there is a way to add a dynamic sort when using an existing rptdocument. My app can retrieve a cached rptdocument wich match with users' selection choices and update its parameters, but applying a dynamic sort on render event doesn't seem having any effect.
Is there any API such myCrossTable.refresh() or myCrossTable.refactory() that we could run in the onRender events? Thats could be great, dynamic sorting or filtering performances in a cross table would be dramatically improved
thx
Dom
[Updated on: Mon, 31 October 2011 10:14] Report message to a moderator
|
|
|
Re: Dynamically sort a crosstable at render time [message #754034 is a reply to message #753970] |
Mon, 31 October 2011 14:51 |
|
Currently the open source viewer does not have that functionality. This
can be done with Actuate's commercial viewer though.
Jason
On 10/31/2011 5:57 AM, dpardon wrote:
> Hi,
> I found nice examples of reports that apply dynamic cross-table filters
> in the beforeFactory event, based on a report parameter. The drawback of
> this method is that datasets and sql queries are executed again,
> although nothing changed except crosstable rows sorting.
>
> So i was wondering if there was a way to add a dynamic sort when using
> an existing rptdocument. My app can retrieve a cached rptdocument wich
> match with users' selection choices and update its parameters, but
> applying a dynamic sort on render event doesn't seem having any effect.
>
> Is there any API such myCrossTable.refresh() or myCrossTable.refactory()
> that we could run in the onRender events? :) Thats could be great,
> sorting or filtering performances in a cross table would be dramatically
> improved
>
> thx
> Dom
|
|
|
Powered by
FUDForum. Page generated in 0.02806 seconds