jQuery UI Widgets Forums Grid jqxPivotGrid setColumnWidth creates error (bug?)

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  ewoudwijma 5 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author

  • ewoudwijma

    After adding setColumnWidth to each row of the pivottable I get an error about a variable called desi not known.

    The code:
    var pivotGridInstance = $(‘#divPivotGrid’).jqxPivotGrid(‘getInstance’);
    var pivotRows = pivotGridInstance.getPivotRows();
    for (i=0; i<pivotRows.items.length; i++)
    pivotRows.setColumnWidth(i, 200);

    After debugging jqxPivotGrid.js I found that a variable is used but nowhere declared:

    I replaced it with b=c>e?c:e which made the error disappear.

    @JQWidget team, can you please check if this is indeed the solution and if so add this in future version.


    Peter Stoev

    We are not aware how to reproduce this. Share a jsfiddle.net sample please, which demonstrates an issue with our current version. You are sharing minified code, too.

    Best Regards,
    Peter Stoev

    jQWidgets Team


    Hi Peter, Thx for your comment. I will create a jsfiddle.net to show it. Is there an guideline how to do this for JQWidgets? I will do it in about 4 weeks as I will be offline until then.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.