Home › Forums › Bugs › header/column not match after jqGridExport
After I called jqGridExport, the DND header does not match up with the data if I drag the header.
Hello,
Which version is used?
Try with the latest one.
regards
Tony
I am currently using jqGrid 3.6.4.
I tried to download all the files again but it still the same.
Here are the js files I am using:
jquery-1.3.2.min.js
i18n/grid.locale-en.js
jquery-ui-1.7.2.custom.min.js
jquery.jqGrid.min.js
I found out the cause for the header/column not match.
I have multiselect: true, which when I called jqGridExport
the actual colModel and colName was splice also. I highlight the code in purple.
Is there a way to duplicate the object
This should not happen since of this,
var c = b.extend({}, b(this).jqGrid(“getGridParam”));
but I will check it.
Regards
In order for it to work you should replace this:
With this:
var c = b.extend(true, {}, b(this).jqGrid(“getGridParam”));
The difference is that the latter option makes a deep copy, instead of a shallow one.
Stay connected with us in your favorite flavor!
Copyright 2014 TriRand LtdAll Rights ReservedRSS