-
Notifications
You must be signed in to change notification settings - Fork 136
aspcore columns not being populated #60
Comments
I'm running into the same issue. When I receive the IDataTablesRequest object in my mvc controller method for getting the table data, the columns array is always empty This, combined with the missing 'order' information that is noted in another issue post, makes it impossible for me to implement column ordering, or column specific searches. Could there be something I'm doing wrong, or could something in a new release of the datatables have broken the IDataTablesRequest? I'm running v1.10.15 of the datatables library. In case this is of any help at all, the request payload from datatables, looks like the following. Other data (like draw, length, and start) are coming through. But columns is always an empty array. { |
Hi, I had the same issue. Make sure the columns configuration do not contains empty data which cause de databinder to break when parsing querystring. Not working example: "columns": [ Working exemple |
Any updates on this issue? I'm facing the same problem. Trying to implement multiple column filtering, but not getting column array in IDataTablesRequest instance. |
I am still not sure what the exact bug is, but I have learned some new information, and a possible workaround. I will probably look into this some more later, and try to track down the actual issue causing this. |
Columns array is not being populated in IDataTablesRequest
The text was updated successfully, but these errors were encountered: