开发者

jqGrid multiselect columnChooser in IE6 height

Does anybody knows how to expand the height of the columnChooser in IE6?

It works perfectly fine in IE7 and IE8 but it won't expand to the height of 240 set in the code for IE6. Any post show event or a method $("#colchooser_grid").attr("height",240) that I can call when the window shows up.

oops "I can't s开发者_如何学Chow pictures yet"

Thanks,


The problem is in jquery-ui-1.8.5.custom.min.js when I went back to jquery-ui-1.7.2.custom.min.js it all works fine. The right height apperas in the column chooser. Now the only problem is when the column chooser is over the tool bar search it breaks the panel and shows the select from beneath. But that is just normal IE6 behavior. Not sure exactly what changed but that is the problem.


columnChooser has options:

jQuery("#list").jqGrid('columnChooser', options);

One from the options is height. Try, for example, with

jQuery("#list").jqGrid('columnChooser', {height:300});

UPDATED: The following code work:

jQuery("#list").jqGrid('columnChooser');
setTimeout(function(){
    var d=$("div.ui-dialog[aria-labelledby='ui-dialog-title-colchooser_list']")
    d.height(530);
    $("div#colchooser_list",d[0]).height(400);
    $("div.selected, div.available",d[0]).height(350);
    $("div.selected, div.available","div#colchooser_list").height(350);
});
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜