data table simplify! -- datatable component for Vue 2.x. An updated fork of the one built by ratiw as that seemed to be unmaintained. See documentation at
As in the title, I'm having some issues with the table, the situation is this:
when api-url is http://localhost:8080/agent the call the table make is to this endpoint: http://localhost:8080/agent?sort=name&order=asc&page=1&per_page=10 and everything goes smooth.
if I use as api-url this: http://localhost:8080/agent/table the call the table make is to this endpoint: http://localhost:8080/agent/table?sort=name&order=asc&page=1&per_page=10 as expected, but this fails, in the developer console I can see that Chrome shows it as "failed to load response data"
But if I open a new chrome window and copy-paste the Request URL called my backend answer correctly. I can't understand the reason.
At last, I tried a @GetMapper("agenttable") and everything went smooth, it seems the problem is with the two/part URL.
As in the title, I'm having some issues with the table, the situation is this:
when
api-url
ishttp://localhost:8080/agent
the call the table make is to this endpoint:http://localhost:8080/agent?sort=name&order=asc&page=1&per_page=10
and everything goes smooth.if I use as
api-url
this:http://localhost:8080/agent/table
the call the table make is to this endpoint:http://localhost:8080/agent/table?sort=name&order=asc&page=1&per_page=10
as expected, but this fails, in the developer console I can see that Chrome shows it as "failed to load response data"But if I open a new chrome window and copy-paste the Request URL called my backend answer correctly. I can't understand the reason.
At last, I tried a
@GetMapper("agenttable")
and everything went smooth, it seems the problem is with the two/part URL.