jQWidgets Forums

jQuery UI Widgets Forums Grid Show All Columns throws a jQuery error Reply To: Show All Columns throws a jQuery error


Dimitar
Participant

Hello nja,

This sounds like an “infinite loop” issue, but your code seems fine. However, I do not think you need to call beginupdate and endupdate for single grid operations only (showcolumn/hidecolumn) or where no grid methods are called between them (first code block). Please remove the calls to these and try again. If the issue persists, please share how many times are the checkIndex method and the checkChange event called when you click the button. You can determine this with a simple counter variable and console.log().

Best Regards,
Dimitar

jQWidgets team
http://www.jqwidgets.com/