When trying to use sorting on an igGrid I am getting the following error:
var data = JSON.parse(response.Data);
var dg = container.find(".DataView");
ShowErrorMessage("Could Not Load DataView", err);
Found the issue. You MUST give the table element you are initialising as a grid an id. I was referencing it by class.
Thank you for posting in our forum.
I’m glad to hear you have resolved your issue.
Indeed the target element should be a table with a valid id, for example:
If the target element is not the correct type or has invalid or no id some of the grid features/operations may not work as expected.
Let me know if you happen to have any additional question or concerns regarding this.