PDA

View Full Version : Usage of Ext.Editor



hamburg
1 Jul 2008, 4:02 PM
Hello,
i tried it in several ways (without success), and searched for any documentation or usage examples but didn't found any helpful one.

Can somebody show me an example how to use the Ext.Editor class?

Many thanks in advance!

evant
1 Jul 2008, 4:05 PM
Post what you have so far.

hamburg
1 Jul 2008, 4:25 PM
<html>
<head><title></title>
<link rel="stylesheet" type="text/css" href="../resources/css/ext-all.css" />
<script type="text/javascript" src="../adapter/ext/ext-base.js"></script>
<script type="text/javascript" src="../ext-all.js"></script>
<script type="text/javascript"><!--

var editor = function() {
return new Ext.Editor(
new Ext.form.TextArea({emptyText:"click here"}),
{x:50,y:50}
).render();
}
//-->
</script>
</head>
<body>
<a href="javascript:void(editor().show())">Editor</a>
</body>
</html>

hamburg
2 Jul 2008, 12:39 AM
any ideas?

hamburg
3 Jul 2008, 6:00 AM
did anyone use the "Editor" at all?