Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
155
POST request with igGrid and AppendRowsOnDemand feature
posted

Hi

I'm using igGrid with AppendRowsOnDemand and I want to send a Post request with a body.
Is there anyway to do this mantaining AppendRowsOnDemand feature working?

Something like this:
$("#grid").igGrid({
primaryKey: "ProductID",
columns: [
{ headerText: "Product ID", key: "ProductID", dataType: "number" },
{ headerText: "Product Name", key: "Name", dataType: "string" },
{ headerText: "Product Number", key: "ProductNumber", dataType: "string" }
],
dataSource: "www.someurl.com",
body: data,//my body from POST request
requestType: 'POST',
features: [
{
name: "AppendRowsOnDemand",
(...)
}]
});

Thanks

Parents Reply Children
No Data