Is processResponse the last step before binding data to the grid. Currently the grid just hangs with a spinning circle.
I am setting the results manually in processResponse to
let results = { result: [], count: 0 }
but it still hangs. Normally I pass in a array on object for the value of result. But the empty array should just result in empty results not a hang with spinning circle
Attached is my adapter if you could possibly take a look at it.
Thank you.
The attachment is the adapter.
Attachment:
syncfusionfeathersadapter_4196a6b2.7z
The below is the grid being bound
let customers = await this.api.customers.find();
let dataManager = new ej.DataManager(customers);
dataManager.adaptor = new this.adapter.feathersAdapter();
$("#Grid").ejGrid({
dataSource: dataManager,
toolbarSettings: {
showToolbar: true,
toolbarItems: ["add", "edit", "delete"]
},
editSettings: {
allowEditing: true,
allowAdding: true,
allowDeleting: true,
editMode: "dialog"
},
allowPaging: true,
allowSorting: true,
allowFiltering: true,
filterSettings: {showPredicate: true, filterType: "menu", enableCaseSensitivity: true},
searchSettings: {ignoreCase: false},
isResponsive: true,
columns: [
{"field": "first_name"},
{"field": "last_name"},
{"field": "company"},
{"field": "id", "isPrimaryKey": true}
]
});
}