:: Forum >>

loading multiple reports in the Grid

Hello,

I am using active.controls.grid with perl to display my reports in grid format.
Its working fine. But now i am trying to load multiple reports in the same grid. The reports are getting overridden.

So can any one help me in displaying multiple reports having different columns in the same grid. Please let me know if it is possible.

Thanks,
Vijay

Vijay
Monday, February 16, 2009
Can you explain in a little more detail? How can the reports be viewed if the same grid is used? Don't they get overwritten?
Anthony
Monday, February 16, 2009
Hi Anthony,

Let me explain.

I have a couple of reports related to each other.

So to display them in Grid , i am looping the data,headers to the tpl file which constructs the actual html file. So the issue is , the iframe is getting overwritten and onlt the last report is being displayed.

So do you have suggestion on how to fix this.

Thanks in advance.
Vijay
Monday, February 16, 2009
Your approach sounds like it will always display only the last set of data because the previous ones are overwritten.

If you want to display all the data, you can either use separate grids, perhaps with AW tabs or concatenate the data together into one JavaScript array (this will mean you can only use one header, however).

Note, you don't need to use iframes with the grids.
Anthony
Monday, February 16, 2009
Thanks anthony .

Do u have any example on how to display a grid outside a iframe.

It would be great if you could explain me.

Thanks,
Vijay
Vijay
Tuesday, February 17, 2009
Most of the examples here do it. Some use iframes too so you just have to look around. Try this one for example -
http://www.activewidgets.com/general.intro/
Click on the last "show example" example, which shows the AW code required, then click on the "show me" button. You can also edit the code to try different ideas.

The tabs example is here -
http://www.activewidgets.com/ui.tabs/
but it doesn't show grids within the tabs. That's relatively easy to implement once you get the hang of things.
Anthony
Tuesday, February 17, 2009

This topic is archived.


Back to support forum

Forum search