When I create a jqxPivotGrid with a theme, I get an error if the pivotgrid is refreshed. After some debugging I workaround/solved it in the jqxPivotGrid.js file as follows:
– find the code starting with if(c==”theme”)
– replace hostVScrollBar with hostVScroll and hostHScrollBar with hostHScroll
– add if (hostVScrollBar) around the jqxScrollBar calls to be sure it is only called if exists
Result is
if(c==”theme”)
{
if (this.hostVScroll)
this.hostVScroll.jqxScrollBar(“theme”,this.theme);
if (this.hostHScroll)
this.hostHScroll.jqxScrollBar(“theme”,this.theme)
}
This solved the error for me
@JQWidget team, can you please check if this is indeed the solution and if so add this in future version.
Thx,
Ewoud