We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Problem with WebApiAdaptor

Thread ID:





143654 Mar 30,2019 08:28 AM UTC Apr 1,2019 04:11 AM UTC Vue 2
Tags: Data Grid
Asked On March 30, 2019 08:28 AM UTC

Hi I'm trying to load data with Vue component using the WebApiAdaptor, have a look at the code I implemented:
the problem is the endpoint called is the slash ("/") before the ?querystring.
Is it possible to remove that slash?


Due to this problem the datagrid is not working
Any ideas?

export default {
name: 'PageData',
components: {

data() {
return {
data: new DataManager({
url: 'http://api/data',
adaptor: new WebApiAdaptor(),
crossDomain: true
pageSettings: { pageSize: 5 },
filterOptions: {
type: 'Menu'
filter: {
type : 'CheckBox'
toolbar: ['Print', 'Search','ColumnChooser'],
mounted() {
let state = { skip: 0, take: 10 };
methods: {
dataStateChange: function (state) {
this.orderService.execute(state).then(( gridData ) => this.data = gridData );
todo() {},
provide: {
grid: [Page, Sort, Filter, Toolbar, ColumnChooser]

Replied On March 30, 2019 12:32 PM UTC

Hi solved. The / is append on the OPTIONS request. CLOSED

Pavithra Subramaniyam [Syncfusion]
Replied On April 1, 2019 04:11 AM UTC

Hi Federico,  

Thanks for your update. 

We are happy to hear that you have resolved the issue. 

Please contact us if you need any further assistance. As always, we will be happy to assist you.  

Pavithra S. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon