Closed Naghal closed 1 year ago
Need help on this one as I haven't used reactjs and can't replicate the issue. However, I am currently playing with VueJS and all seems to work fine along with the html builder and via manually jquery scripts.
The params sent to server looks correct but it seems like the request data is not being read by server properly.
order[0][column]: 0
order[0][dir]: desc
I had exactly the same issue. The problem was not associated with reactjs, but with the MSSQL database. The exception was in Illuminate\Database\Query\Grammars\SqlServerGrammar: 220
I solved the problem by bumping Laravel version.
Related Laravel PR: https://github.com/laravel/framework/pull/37859
This issue is stale because it has been open for 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been inactive for 7 days since being marked as stale.
Summary of problem or feature request
Following an update to Laravel 8, I have updated the package and followed the update guide of this package. However, some datatable in my application fail with the error
Exception Message:\n\nUndefined index: column
, but only when changing page with a column ordered. (The inital render works fine, and I can succesfully reorder by any column if I stay on page 1)Code snippet of problem
Using the following datatable definition:
The following headers are sent to the server:
and the response is
Controller code:
EDIT Changing the controller code to this "solves" the issue.
However, using the
orderColumn
api, it results in the same error. There seem to have a bug with the order andorderColumn
api?System details