databinding automatically

4 posts, 1 answers
  1. MAJID
    MAJID avatar
    3 posts
    Member since:
    Oct 2019

    Posted 01 Oct 2019 Link to this post

    I use pivotgrid and chartview that is integrated , i  don't want when i drag my pivot item to Aggregate or filter area chartview automatically refresh . i should use button for that  how can i do that? thanks in advance.
  2. Answer
    Nadya
    Admin
    Nadya avatar
    389 posts

    Posted 03 Oct 2019 Link to this post

    Hello Majid,

    When RadChartView is bound to RadPivotGrid populating with data is performed by the PivotGridChartDataProvider. By default, the chart updates automatically once the selection is made. If you want to do the update on a button click you should implement а custom PivotGridChartDataProvider class and use it in the Click event.

    I have also prepared a sample project for your reference which result is illustrated in the attached gif file. Could you please refer to it and let me know how it works for you?

    I am looking forward to your reply.

    Regards,
    Nadya
    Progress Telerik

    Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
  3. MAJID
    MAJID avatar
    3 posts
    Member since:
    Oct 2019

    Posted 05 Oct 2019 in reply to Nadya Link to this post

    That's very kind of you.

    But it's necessary to be "enabled updates" checkbox ? i test it without it it doesn't work.

  4. MAJID
    MAJID avatar
    3 posts
    Member since:
    Oct 2019

    Posted 05 Oct 2019 in reply to MAJID Link to this post

    this.radPivotGrid1.ChartDataProvider.BeginUpdate();

    Sorry i missed above code in mine . It is Completely Right.

    if possible please delete my post.

Back to Top