Hello, I've been testing the PivotGrid using local data binding and have some questions:
Is there any way that I can make a button to expand all rows and columns with local data binding? I tried to do that in the column using
but the grid's colspan was all wrong (see image attached). Is there any way to fix this? I tried to do the same thing on the row and it works fine.
10 Answers, 1 is accepted
In general, the widget allows to expand the first level of every dimension. If you would like to expand all possible tuples, then you will need to do that manually. Here is a demo that demonstrates how to do that:
I am using this code to expand the rows:
which generates the result shown on image 1, which is absolutely correct.
When I wrote this code to expand the columns:
you can see the result on image2 attached. As I've wrote in my question, the colspan that generated is all wrong, you can see in the image that the months are not aligned at all with the grid content. How can I fix this?
Also, which verson of the jquery.min.all.js is the most recent? I just download the kendo ui and it came with the v2015.2.624, but on a dojo demo I found a v2015.5.805, which corrects some of the bugs that I have had with expanding columns. Which one should I use and is the most recent?
Also, when I added this code:
you can see in the image attached that the rows are correct, but take a look at the columns (again, they are not aligned with the months)
I was not able to reproduce the problem locally, this is why I would like to ask you to send us a runnable project that we can use to reproduce the issue and see what exactly is causing this behavior. Thanks in advance.
This looks like an issue with the PivotGrid that I have logged in our internal bug tracker and it will be fixed with an upcoming build.
Thanks for bringing this up.
It should be resolved with the latest version.
Can you please provide your setup in a separate ticket that we can look at?
Telerik by Progress