how can connect to sql server the pivot grid view, is this possible?, I'm using php connection :)
Thanks
J.
Hello Joan,
I don't see a problem where the data doesn't display. What I see is that the resizing of the column does not happen, because the data source is remote and the data fetch is asynchronous so the API call should be delayed until after the data is rendered in the grid. I modified your fiddle to use the igPivotGrid.pivotGridRendered event and call the API there.
Here is the result: http://jsfiddle.net/goagv0zh/1/
Best regards,Martin PavlovInfragistics, Inc.
Hi Martin, I did try your file, and this works fine. however, in your same file I comment your script and copy and past bellow, then I've change the params for my cube, and this crash! my data don't display, so I decided try use the igPivotGrid, then I check an example in fiddle and I colaborate to implement the resizing columns and this works! http://jsfiddle.net/joankent/goagv0zh/ but when I try use the same script to implement my cube the same thing happens, the data doesn't display, I attach the scripts files for you can check this. you think that I have something wrong in my cube? What can it be?
Thanks.
Regards.
Hello Joan,The correct configuration is:$("#pivotView").igPivotView({ pivotGridOptions: { gridOptions: { features: [ { name: "Resizing", allowDoubleClickToResize: true } ] } }});
I'm attaching a working sample.
Hi Martin,
I did try your script, but I have this error message:
Error: cannot call methods on igGridResizing prior to initialization; attempted to call method 'resize'
I attach my code for you, I am sure that I'm doing this wrong.
I didn't notice that you're using igPivotView so I send you code snippet for igPivotGrid. Try with this code:
$($("#pivotView").igPivotView("pivotGrid").grid().element).igGridResizing("resize", 1, "60px");