Jump to content

ExtEvents


Janex

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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...