PivotGrid dataSource read fails when rows expanded

2 posts, 0 answers
  1. Jim
    Jim avatar
    1 posts
    Member since:
    Aug 2015

    Posted 06 May 2016 Link to this post

    I've been playing with overwriting the adomd command text and came across an odd bug with the pivotgrid/datasource.

    I've made a dojo example here that reproduces the issue.  Clicking the button triggers:


    If the rows are not expanded, the function call works fine.  But after expanding the row data (All Geographies) to show Abingdon, Albany, etc..triggering the read function again causes a javascript exception in kendo.all.min.js (dataItem is undefined).

    Is there a way to resolve this issue?

  2. Georgi Krustev
    Georgi Krustev avatar
    3747 posts

    Posted 10 May 2016 Link to this post

    Hello Jim,

    The best way to reload the source and start from the beginning is to reset the datasource instance. Check the updated Dojo demo:
    Georgi Krustev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top