开发者

jqGrid - column resize event

I'm having a problem with jqGrid. I need to call a function when a column is resized. I have tried the following...

$grid = jQuery("#list").jqGrid({
    ...          
resizeStop: function(width, index) { 
        alert("resiz开发者_JS百科e column " + index + " to " + width " + "pixels"); 
    },
    ...
}); 

... but the event does not fire.

Am I missing something? Any ideas anyone?

Thanks!


Ah, found the problem.

The code was correct, but I had downloaded a version of jqGrid without jQuery UI addons enabled. I fixed it but downloading the complete version of jqGrid.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜