jQWidgets Forums
jQuery UI Widgets › Forums › Grid › JQXGrid error when sorting and grouping
This topic contains 11 replies, has 5 voices, and was last updated by admin 1 year, 9 months ago.
-
Author
-
Hi,
I recently upgraded from JQWidgets 9.0 to 13.2 and now have an issue when using sortMode=many and grouping.I start with my grid with a sortMode=one. Single sort works fine. If I group columns the sort continues to work with no issue.
If I switch to sortMode=many, the multisort works fine. However, as soon as I start to group columns I am getting the following error:
Uncaught TypeError: Cannot read properties of undefined (reading 'removeAttribute') at c.<anonymous> (jqxgrid.sort.js:8:5160) The offending line: a(this.sorticon)[0].removeAttribute("order")
The grid/app stops working at that point until I do a page refresh/reload of library.
I went back and verified that this works fine in v9.0 and only appears in 13.2.
Could you please let me know if this is known issue, work-around/fix available?
Thank you for your time!
RobHi,
May you please upgrade to the latest version:
Here is an example with working multi sort and group: http://jsfiddle.net/bsw7aL6q/The version in the example is newer than 13.2
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Hi Svetoslav ,
Thank you for the tip. I purchased a developer license but on the Client page the latest version I see is 13.2 Am I missing something from the library? The current issue is breaking my build.Please let me know and thanks again for you help!
RobHi,
The latest version is 16.0.0, you can see it here: https://www.npmjs.com/package/jqwidgets-scripts
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Thanks, Svetoslav. Just to be clear, if I don’t see it on my Client portal then it means it’s not available to me? I have to download another evaluation version for 16?
Rob
Hi,
You can download it from NPM, please contact support@jqwidgets.com and share your license. It may be expired
Best regards,
Svetoslav BorislavovjQWidgets Team
https://www.jqwidgets.com/Thank you! Much appreciated.
RobHi,
Can you please tell me where I can find older releases of JQWidgets, e.g. 14.x
I have downloaded 16.0 and am having many new issues w/my app, least of which is the look and feel – something called “fluent”?13.2 has a different set of issues which is preventing me from moving to that version. Wondering if 14.x may be more stable for me.
Can you please point me to archive of releases?
Thank you.
RobHi Rob,
“fluent” is simply a new CSS theme. It shouldn’t be causing any issues with the widgets.
You can still use all previous CSS themes such as “light”, “dark”, “material”, etc.. by importing their CSS file and then setting the “theme” property of the widgets to the corresponding theme name. If you still experience some issues, you can let us know and we will provide you assistance.In any case, you can download all previous major releases from the jqwidgets-scripts npm module. For example: npm i jqwidgets-scripts@14.0.0
Best regards,
Ivan Peevski
jQWidgets Team
https://www.jqwidgets.com/Thank you. I had demos.js loaded in for testing and it was overriding my ‘light’ theme w/’fluent.
Much appreciated!
RobThank you. I had demos.js loaded in for testing and it was overriding my ‘light’ theme w/’fluent.
Much appreciated!
RobThanks for the update
-
AuthorPosts
You must be logged in to reply to this topic.