Adam
Adam

Reputation: 943

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("resize column " + index + " to " + width " + "pixels"); 
    },
    ...
}); 

... but the event does not fire.

Am I missing something? Any ideas anyone?

Thanks!

Upvotes: 3

Views: 6660

Answers (1)

Adam
Adam

Reputation: 943

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.

Upvotes: 5

Related Questions