Results 1 to 3 of 3

Thread: Does Pivot Grid has an aggregator change listener?

  1. #1
    Sencha Premium Member
    Join Date
    Sep 2015
    Posts
    9

    Default Does Pivot Grid has an aggregator change listener?

    Hi!

    Is there a way to listen to the aggregator type change with de configurator plugin activated?

    Example:

    field "abc" defined as SUM type aggregator but then changed to AVG or COUNT.
    I need to listen to that change because i will have to render the value with different formats.

  2. #2
    Sencha Premium User
    Join Date
    Feb 2008
    Location
    Long Island, NY
    Posts
    367
    Answers
    6

    Default

    There is a "configchange" fired when the menu option is clicked, but it does not seem to pass anything as arguments to a listener (this is looking at the source code) which is contrary to what the Docs say.
    It may help you.
    I think the Pivot components do need to have more meat, they are unlike anything else in EXTJS.

  3. #3
    Sencha Premium User
    Join Date
    Dec 2009
    Location
    Iasi, Romania
    Posts
    159
    Answers
    9

    Default

    Quote Originally Posted by antonio.vasconcelos View Post
    Hi!

    Is there a way to listen to the aggregator type change with de configurator plugin activated?

    Example:

    field "abc" defined as SUM type aggregator but then changed to AVG or COUNT.
    I need to listen to that change because i will have to render the value with different formats.
    I'm sorry I didn't see this post earlier.
    You could add a listener for the event "pivotstart" and do your changes on the matrix.aggregate dimensions.
    In the next release the configurator plugin will bring more things on the table.

Similar Threads

  1. Replies: 2
    Last Post: 26 Feb 2015, 5:35 PM
  2. Grid filter change listener
    By pseri in forum Ext: Q&A
    Replies: 1
    Last Post: 24 Jan 2013, 9:32 AM
  3. Replies: 4
    Last Post: 6 Jun 2012, 7:26 AM
  4. PivotGrid with no aggregator function
    By rickybobby in forum Sencha Ext JS Q&A
    Replies: 7
    Last Post: 9 Feb 2011, 6:20 AM
  5. News Aggregator in Ext
    By ziutek in forum Community Discussion
    Replies: 7
    Last Post: 12 Sep 2007, 11:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •