Attachment views and paging?

Events happening in the community are now at Drupal community events on www.drupal.org.
karschsp's picture

I'm writing a module that relies heavily on Views 2 to display data. One of the default page views i want to include is of the table style with a chart of the data "attached". I've written the style plugin to generate the chart via the Google charts API. The problem is, if I set up the page (table) display for paging, as I page through it, the attached chart view doesn't change. It always stays on page 1. How can I sync up attached displays with page displays?
Thanks!
Steve

Comments

I'm wondering the exact same

voxpelli's picture

I'm wondering the exact same thing - I would need wither a unified pager or a separate pager for the attachment. I would prefer the latter but both cases should be made possible if it isn't already.

Anybody knows anything about this?

I was at DIWD last week and

karschsp's picture

I was at DIWD last week and actually asked Earl about this. He said the pager should be unified, however that's not what I'm experiencing. See: http://www.stevekarsch.com/nikeplus

The chart at the bottom is an attached view, however when you page through the table at the top, the chart doesn't get updated. I still need to do some more debugging though. If I can't figure it out I'll add something to the issue queue.

I also developed the exact

zcferres's picture

I also developed the exact same Google Charts module and I am having the same problem. It looks like there is a patch out now that allows inherited paging (http://drupal.org/node/622608) but I think for our use the separate pagers would be the best.

Any thoughts on this?

Views Developers

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

Hot content this week