Jump to content



Recommended Posts

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 :(

Link to comment
Share on other sites

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 ????

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...