View Full Version : Edit In Place
rodiniz
7 Feb 2007, 5:18 AM
Here is a sample based on a post by johnt at the help forum.
http://www.rodrigodiniz.qsh.eu/EditInPlace.htm
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
7 Feb 2007, 6: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
7 Feb 2007, 6:28 AM
http://yui-ext.com/deploy/yui-ext.0.40-alpha/source/widgets/InlineEditor.js
rodiniz
7 Feb 2007, 7: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.
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
26 Aug 2007, 6:06 PM
Any chance we can get an updated version of this that works with Ext 1.1? :D
Powered by vBulletin® Version 4.1.5 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.