Janex Posted November 12, 2012 Share Posted November 12, 2012 Hi all. I dont understand how work ExtEvents I have a grid, in ExtEvents editor create default OnColumnmove event and put this code: function OnColumnmove(oldIndex, newIndex) { Ext.Msg.alert('Test', newIndex); } But now when i move column, in message I get: "[object Object]". Why I not get a number of newIndex ? Then I look in sencha docs (http://docs.sencha.com) and Ext.grid.Panel dont have event OnColumnmove, in docs is found only event: "columnmove( ct, column, fromIdx, toIdx, eOpts )" with different params Quote Link to comment Share on other sites More sharing options...
Janex Posted November 12, 2012 Author Share Posted November 12, 2012 Ok, I found where is problem - Event OnColumnmove is in ExtJs version 3, but Unigui 0.9 work now with ExtJs 4.1.1a and in this version this event is with different arguments: columnmove( ct, column, fromIdx, toIdx, eOpts ) Unigui 0.9 is NOT full compatible with ExtJs 4 ???? Quote Link to comment Share on other sites More sharing options...
altagur Posted November 15, 2012 Share Posted November 15, 2012 Possible problem with ExtPascal version. Not exist support ExtPascal for ExtJS4!? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.