Attachment views and paging?

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by karschsp on November 12, 2008 at 3:48am

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

Categories:

Comments

I'm wondering the exact same

Posted by voxpelli on December 15, 2008 at 1:11pm

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

Posted by karschsp on December 15, 2008 at 2:30pm

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

Posted by zcferres on November 21, 2009 at 9:37pm

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:

AltStyle によって変換されたページ (->オリジナル) /