olifolkerd / tabulator

Interactive Tables and Data Grids for JavaScript
http://tabulator.info
MIT License
6.76k stars 821 forks source link

Data Load Error: undefined #4618

Open Aeros-zz opened 2 weeks ago

Aeros-zz commented 2 weeks ago

Describe the bug I got a "Data Load Error : undefined" when the table was created and when I executed clearFilter. For information, the table's data are loading with a click on a button which puts a filter on the table.

Error stack:

Data Load Error:  undefined [DataLoader.js:63:12](https://localhost:8443/web/js/core/tools/DataLoader.js)
    load DataLoader.js:63
    (Asynchrone : promise callback)
    load DataLoader.js:62
    _loadInitialData Tabulator.js:299
    _create Tabulator.js:169
    gt Tabulator.js:82
    (Asynchrone : setTimeout handler)
    gt Tabulator.js:81
    ft TabulatorFull.js:17
    initializeTable test.js:120
Data Load Error:  undefined [DataLoader.js:63:12](https://localhost:8443/web/js/core/tools/DataLoader.js)
    load DataLoader.js:63
    (Asynchrone : promise callback)
    load DataLoader.js:62
    reloadData CoreFeature.js:12
    refreshFilter Filter.js:574
    userClearFilter Filter.js:170
    e Module.js:38
    clearTableFilter test.js:43

Tabulator Info Tabulator 6.3

Working Example https://jsfiddle.net/9dwk24qu/

To Reproduce https://jsfiddle.net/9dwk24qu/ See on the console, there is two "Data Load Error"

Expected behavior No "Data Load Error", the table contains no data and it's normal at this time.

Desktop OS: Windows Browser: Firefox/Chrome/Edge