Jun 18, 2012, 11:38 AM
[CLOSED] Grid Header & HeaderMenu (v2)
In relation to this thread: http://forums.ext.net/showthread.php...amp-HeaderMenu
In v2 this function doesn't work because 'beforeColMenuShow' doesn't exists. What I have to use now?
In v2 this function doesn't work because 'beforeColMenuShow' doesn't exists. What I have to use now?
setMenuHeader: function (grid, columnId, headerMenuText) {
var view = grid.getView();
view.beforeColMenuShow = view.beforeColMenuShow.createSequence(function () {
view.colMenu.items.each(function (item) {
if (item.itemId.substr(4) === columnId) {
item.setText(headerMenuText);
}
});
});
}
Last edited by Daniil; Jun 18, 2012 at 1:12 PM.
Reason: [CLOSED]