jQWidgets Forums
jQuery UI Widgets › Forums › Grid › Bug with column reordering, when grouping enabled
This topic contains 4 replies, has 2 voices, and was last updated by Peter Stoev 11 years, 11 months ago.
-
Author
-
Hello,
I found one bug, when using reorder and group feature of the grid.
I have following grid configuration:$('#grid').jqxGrid({ source: dataAdapter, height: 600, autoheight: false, rowsheight: 30, autorowheight: false, width: '100%', filterable: true, sortable: true, groupsrenderer: groupsRenderer, groupable: true, groupsexpandedbydefault: true, showgroupsheader: false, columnsresize: true, columnsreorder: true, enabletooltips: false, editable: true, selectionmode: 'none', columns: config.columns});
When property showgroupsheader is set to false, column reordering is not working and throws error:
Uncaught TypeError: Cannot read property 'length' of undefined jquery.min.js:2v.extend.each jquery.min.js:2$.extend._handlegroupdroplines jqxgrid.grouping.js:1009(anonymous function) jqxgrid.grouping.js:886v.event.dispatch jquery.min.js:2o.handle.u jquery.min.js:2
The columns can’t be reordered and by default the grid start grouping by selected column with the mouse.
When showgroupheader is set to true, column reordering is working as expected.
Hi,
If you report an issue regarding our products, please include the following information in your post:
– jQuery version, jQWidgets version, device type(PC, Mobile), browser name and version.
– Please, provide step by step instructions on how to reproduce the reported issue and provide a small sample which demonstrates it.Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/I’m using latest 2.8.3 (and 2.8.1) jqwidgets, on PC (Chrome latest and Firefox 20.0.1) problem is reproducable. As I describe it always happen, when we have properties:
– showgroupsheader: false,
– columnsresize: trueJust open grid and try to reorder the columns, using the column header.
Hi sved,
Thank you for the feedback!
However, please avoid posting Code from the Original Scripts as it is in violation with the EULA.
Best Regards,
Peter StoevjQWidgets Team
http://www.jqwidgets.com/ -
AuthorPosts
You must be logged in to reply to this topic.