Describe the bug
Jquery and the jquery_wrapper , as described in http://tabulator.info/docs/4.4/jquery, is used.
Since version 4.3.0 a "TypeError: Tabulator is not a constructor" error is thrown when trying to display a simple table. The table itself is not shown anymore. Older versions work fine.
Tabulator Info
The bug is Reproducable in versions 4.3.0 and 4.4.3
NOT Reproducable in version 3.4.6 and 4.2.7
Tabel setup:
$("#example-table-1").tabulator({
columns:[
{title:"Name", field:"name"},
{title:"Age", field:"age"},
],
});
Working Example
https://codepen.io/edwinro/pen/zYYKepV
To Reproduce
Open the codepen link. The different versions can be commented / un-commented in the head section.
The table is not visible anymore in versions 4.3.0 and 4.4.3. The "TypeError: Tabulator is not a constructor" error is seen in the browser console .
Expected behavior
The table should be visible
Desktop :
Smartphone:
Not tested
Hey @edwinro
Thanks for the headsup, i will investigate this further.
Cheers
Oli :)
Hey @edwinro
Looking into this further it looks like it was a regression in a PR i accepted a few months back. It managed to slip through, so apologies there.
I have pushed a fix for this to the 4.5 branch which will be released in the next few weeks.
In the mean time if you would like a functioning wrapper till the 4.5 release date, you can find the source for the fixed jQuery wrapper here
Cheers
Oli :)
Thank you @olifolkerd
Cheers,
Edwin