开发者

jqGrid - how do I resize not just the TD but also TD inner DIV when TH (column) is resized?

I need to catch the event where the columns are resized. H开发者_开发技巧ow do I do that?


It seems to me you should use resizeStop event (see http://www.trirand.com/jqgridwiki/doku.php?id=wiki:events&s[]=resizeStop#list_of_events)

UPDATED: After you resize a column header in the jqGrid it calls resizeStop event. For example

jQuery('#list').jqGrid({
    caption: 'My caption',
    url: myUrl,
    resizeStop: function (newwidth,index) {
      alert('Column #' + index + ' has now size ' + newwidth + ' px');
    },
    // other jqGrid parameters
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜