I'm using an igGrid where I have a delete button:
When I click this button, this item is deleted in the DB. Is there a way to also delete this item in this table using AJAX (in the success) without having to refresh the page?
Hello Ronny,
I am glad that you find my answer helpful.
Feel free to contact me if you have any additional questions regarding this matter.
Nerver mind I found it! I set editMode to "none"
Thank you. This helped!
Is there a way to automatically cancel when I cancel the delete by clicking on the cancel button in the pop-up so the user does not have to click cancel again:
This error message usually shows up when you try to call an Updating API method, but have not enabled the Updating feature itself by adding it to the “features” array. Here is a sample grid configuration:
$("#gridUpdating").igGrid({ primaryKey: "ProductID", columns: [ // …some columns… ], dataSource: ds, features: [ // …some other features… { name: "Updating", enableAddRow: true, enableDeleteRow: false }] });
I see the “Add new row” UI on the first screenshot you have provided – it shows up only when the Updating has been enabled. Have you disabled it afterwards for some reason, or is it still enabled?
Hello
Thank you for your reply. I tried this but I now get the following error: