vitmalina / w2ui

UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
http://w2ui.com
MIT License
2.64k stars 730 forks source link

w2grid load data fail #2432

Closed WenSheng-tw closed 12 months ago

WenSheng-tw commented 1 year ago

When loading data from the backend fails, the console will show an error message!!

vitmalina commented 1 year ago

From the description of the PR, it is not clear what you tried to achieve. If you wanted to suppress console messages, you should fix your backend instead. I found those messages useful.

alexkuznetsov commented 12 months ago

In my opinion, a silent return, as in this PR, can bring more problems. The Grid API requires a specific schema (this scema is well described in the docs.) for data from the backend API, so if you want to receive data from any backend, that backend must meet those requirements.

vitmalina commented 12 months ago

Closing this PR due to no response from the author