View Full Version : Edit In Place
rodiniz
02-07-2007, 08:18 AM
Here is a sample based on a post by johnt at the help forum.
http://www.rodrigodiniz.qsh.eu/EditInPlace.htm
JohnT
02-07-2007, 09:15 AM
See discussion:
http://www.yui-ext.com/forum/viewtopic.php?t=2543
Well, I thought the user may not want the overlay.
And the HTML thing, I don't think that would be terribly involved. All we'd have to do is grab the parentNode's innerhtml, and pass that to the editor, wouldn't we?
Scratch the cursor request, we can use CSS if we wanted.
Fun fun!
Animal
02-07-2007, 09:26 AM
You can edit tree node titles in place here: http://yui-ext.com/deploy/yui-ext/examples/tree/organizer.html
I think Jack has a class for this.
Animal
02-07-2007, 09:28 AM
http://yui-ext.com/deploy/yui-ext.0.40-alpha/source/widgets/InlineEditor.js
rodiniz
02-07-2007, 10:04 AM
Looks like jack is ahead .. anyway you can enter HTML code in the editable area and it will work if it is a DIV.
JohnT
02-07-2007, 05:43 PM
Hey you know what man? Look at Jack's version of this, and you will see we were on the same GENERAL track!
OMG am I finally learning this ?
:)
Thanks RODINEZ for taking the time to help out.
ejsmith
08-26-2007, 10:06 PM
Any chance we can get an updated version of this that works with Ext 1.1? :D
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.