I am using igGrid MVC helper in my project with single-column sorting enabled (local). I also have a checkbox to filter the results and rebind the grid later.
I rebind the grid in Javascript after the results are filtered (not actually filtering the results in the sample project); after filtering the results the sorting seems to stop working correctly. I am attaching the sample project to demonstrate the issue. To recreate the problem, follow the steps
- Run the project; the grid is sorted in ascending direction by "Message" field when it is loaded the first time. - Sort by "Start Date" field now. - Next, check the "Filter" button (at this time the grid is rebinded in Javascript). - Sort by "Error Message" column, - finally uncheck the "Filter" checkbox.
There are now two sort indicators ("Start Date" and "Error Message"), even though it is just sorting on "Error Message" field. Is there a way to clear the indicator on checkbox click event or eliminate the issue all together?
I am trying to upload the working sample code, but it is not allowing me to do so. I will upload Model, Controller and View code separately now.
Hello Anonymous,
I have investigated your issue, and I have asked our engineering staff to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 217765.
I've opened a private case for you with number: CAS-171964-V8C0H1 and have linked the development issue to it so that you'll be notified once the issue has been resolved.
You can find the case by going to your account on our web site and then to the "Support activity" tab.
You can view the status of the development issue connected to that case by selecting the "Development Issues" tab when viewing this case.
Please let me know if you need more information.
Regards,
Tsanna