5 Apr 2013 8:09 AM #1
GridPanel Drag and Drop: change ddText dynamically
Hello.Before I start, let me say that I'm a bit inexperient with EXT JS (been working on it since Tuesday)
I have a website with a gridPanel that contains only 1 column with multiple values.
When i drag a value, the text displayed can be changed inside of the Ext.grid.GridPanel using ddText:
(...rest of code)
How can i change this ddText to contain the text of the dragged cell?
I've tryed with a listener , using rowmousedown, but the event was not fired.
How can I surpass this?
8 Apr 2013 7:12 AM #2
- Join Date
- Mar 2007
- Gainesville, FL
- Vote Rating
Have you tried to just change the property?Mitchell Simoens @SenchaMitch
Sencha Inc, Senior Software Engineer
Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/
Need more help with your app? Hire Sencha Services firstname.lastname@example.org
Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!
When posting code, please use BBCode's CODE tags.
8 Apr 2013 7:53 AM #3
Yes, i've tried that in a listener on the grid, but the only event that worked was the "click" .. the cellmousedown would do the trick but it's not detected I don't now why.