HI, i have some problems with the qgrid columnchooser in IE8.
I have three pages, each one of them has a jqgrid inside, which show some datas received from an ajax call to a php which execute an SQL (one different query for each grid).
All pages works fine with chrome and firefox, but only the first two pages work fine with IE8 too.
The only difference from the pages is the called php, that have his own particular sql query and output.
The version of jqgrid (4.3.3) is the same in all of them.
I have tried with 4.5.2 version, but it didn't solved the problem. The only thing that made it work was reducing the number of extracted field, directly from sql.
i reduced them from 78 to 14, and the columnchooser worked fine.
I can solve this selecting only the fields i need, but if i could let them all would be perfect, so I ask you if you can help me.
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 |
<div class="sfcode">jQuery("#list").jqGrid('navButtonAdd', '#pager', {<br /> caption : "",<br /> title : "Scegli colonne",<br /> onClickButton : function() {<br /> jQuery("#list").jqGrid('columnChooser', {<br /> "msel_opts" : $.ui.multiselect.defaults,<br /> "shrinkToFit" : true,<br /> "autowidth" : true,<br /> done : function(perm) {<br /> w = $(window).width();<br /> // alert('done ' + w);<br /> if (perm) {// alert(perm);<br /> // "OK" button are clicked<br /> this.jqGrid("remapColumns", perm, true);<br /> // the grid width is probably changed co we can get new<br /> // width<br /> // and adjust the width of other elements on the page<br /> // var gwdth = this.jqGrid("getGridParam","width");<br /> // this.jqGrid("setGridWidth",gwdth);<br /> this.setGridWidth(w - 30, true);<br /> // NF rintraccia vincoli e nascondi colonne per vincoli<br /> // alert('vincoli colonna');<br /> /*<br /> * if (VINCcolumn) { setVINCcol("list", VINCcolumn); }<br /> */<br /> $('.ui-search-input').show();<br /> } else {<br /> // we can do some action in case of "Cancel" button<br /> // clicked<br /> }<br /> }<br /> });<br /> }<br /> });</div> |
|
1 |
Is it possible thas is caused from the number of fields? |
Copyright 2014 TriRand LtdAll Rights ReservedRSS
Back to Top