Search Type: Posts; User: inf3rno
Search: Search took 0.01 seconds.
-
30 Jan 2011 6:49 PM
Jump to post Thread: Changing proxy by dragzone by inf3rno
- Replies
- 0
- Views
- 431
Hi!
I have a dragZone with elements registered by Ext.dd.Registry.register. The cursor follower (proxy?) element depends on the data given by register. How can I set the source element (which ... -
21 Jan 2011 4:15 PM
Jump to post Thread: DragZone turn off fade effect by inf3rno
- Replies
- 2
- Views
- 782
No, maybe the dragged area has no background-color (or don't know), and that causes the problem.
I solved this with overwriting the afterRepair method:
new... -
21 Jan 2011 3:56 PM
Jump to post Thread: DragZone turn off fade effect by inf3rno
- Replies
- 2
- Views
- 782
Hi!
How can I turn off the fade effect on dragged element?
It calls setStyle("backgroundColor","rgb(NaN,NaN,NaN)") resulting error message in msie. -
16 Jan 2011 6:26 AM
Jump to post Thread: Drag&drop hbox layout panels by inf3rno
- Replies
- 0
- Views
- 686
Hi!
I have framed panels on a page. Some of them are in hbox layout, and others contains text as you see on the following image:
24306
I have to drag and drop all of these items, so the whole... -
13 Jan 2011 6:14 AM
Jump to post Thread: Display tree model in custom view by inf3rno
- Replies
- 2
- Views
- 1,168
I'm ready with my extension, you can download it from here: https://github.com/inf3rno/Ext.ux.tree. Please send me a message if you find any bugs (I didn't develop it with TDD...).
-
4 Jan 2011 2:39 PM
- Replies
- 0
- Views
- 819
Hi!
I have problems with drag and drop by nested panels. I haven't find anything about how to turn off event bubbling by nested drop targets.
var a=new Ext.Panel({title: "a", html: "drop"}),... -
3 Jan 2011 3:59 PM
- Replies
- 2
- Views
- 953
Thanks! :-)
-
3 Jan 2011 1:22 PM
- Replies
- 2
- Views
- 953
Hi!
Can anybody tell me, why this works:
var c=new Ext.Panel(
{
title: "a"
});
c.title="test"; //c.rendered is false here -
3 Jan 2011 10:39 AM
Jump to post Thread: I need Panel.insertBefore by inf3rno
- Replies
- 2
- Views
- 766
Nice, thanks! :-)
-
2 Jan 2011 10:13 PM
Jump to post Thread: I need Panel.insertBefore by inf3rno
- Replies
- 2
- Views
- 766
Hi!
Is there a simple way to detect a panel index in another panel?
I have the containerPanel, and the refPanel, but I don't know on which index the refPanel is, so I cannot use the Panel.insert.... -
2 Jan 2011 9:16 PM
- Replies
- 3
- Views
- 1,241
Hmm, do you say, that I must remove it manually from dom?
onNodeRemove: function (oldChild)
{
this.remove(oldChild.getUI(),false);
var dom=oldChild.getUI().el.dom;
... -
2 Jan 2011 7:52 PM
- Replies
- 3
- Views
- 1,241
Hi!
I have a complicated code which displays a tree, here is the part responsible for removing a child node ui. It's in an extended Ext.Panel, and child ui is an instance of the same class.
... -
30 Dec 2010 4:42 AM
Jump to post Thread: Dynamically add panels to panels by inf3rno
- Replies
- 6
- Views
- 1,178
The autoHeight works, thanks a lot!
I tried out columnLayout, but with the " hbox flex" property it's much easier to display my data. -
30 Dec 2010 3:50 AM
- Replies
- 3
- Views
- 1,454
You can clone the constructor with this method:
Function.prototype.clone=function ()
{
if (!this.cloner)
{
this.cloner=new Function("return "+this.toString()+";");
}
... -
30 Dec 2010 3:17 AM
- Replies
- 3
- Views
- 1,454
Ok, you're right!
var A=function (){};
var B=function (){};
var m=
{
test: function ()
{ -
29 Dec 2010 4:43 PM
- Replies
- 3
- Views
- 1,454
Hi!
I want to extend Component,BoxComponent,Container and Panel with the same methods, how can I do that?
var A=function (){};
var B=function (){};
var m=... -
29 Dec 2010 4:27 PM
Jump to post Thread: Dynamically add panels to panels by inf3rno
- Replies
- 6
- Views
- 1,178
I'll write a loader to build this tree automatically from a json or other text format. I can build it from inside out, it's not a problem, but I'll modify the tree with drag-drop and other...
-
29 Dec 2010 11:20 AM
Jump to post Thread: Dynamically add panels to panels by inf3rno
- Replies
- 6
- Views
- 1,178
As I posted:
var append=function (parent,child)
{
parent.add(child);
parent.doLayout();
};
so
append(cc1,c1) === { cc1.add(c1); cc1.doLayout(); } -
29 Dec 2010 6:34 AM
Jump to post Thread: Dynamically add panels to panels by inf3rno
- Replies
- 6
- Views
- 1,178
Hi!
I try to build a structure from a tree data and I have troubles.
var append=function (parent,child)
{
parent.add(child);
parent.doLayout();
}; -
28 Dec 2010 3:48 PM
Jump to post Thread: Display tree model in custom view by inf3rno
- Replies
- 2
- Views
- 1,168
I tried to extend the TreeNodeUI, and I can display nodes in this view, but it's a really hard thing... The Ext.data.Tree and Ext.data.Node classes are nice, but the Ext.tree package is really a...
-
26 Dec 2010 2:56 PM
- Replies
- 7
- Views
- 1,453
Because my columns and my text containers are panels too.
I use this structure:
var ColumnContainer=Ext.extend(Ext.Panel,
{
style: "text-align: center; margin: 3px; margin-bottom:... -
26 Dec 2010 11:51 AM
- Replies
- 7
- Views
- 1,453
It's compicated :S
I have a TreePanel with a custom uiProvider. The provider displays columns beside each other and panels above/under each other or above/under the columns. I have to put the... -
26 Dec 2010 10:46 AM
- Replies
- 7
- Views
- 1,453
I hadn't found implementation for this problem, so I made it on my own:
Ext.descendantOf=function (cls,anc)
{
var cur=cls;
while(cur=(cur.superclass && cur.superclass.constructor))
... -
26 Dec 2010 10:16 AM
- Replies
- 7
- Views
- 1,453
Hi!
How can I check in extjs whether a class a descendant of another class is?
I need something like this:
var A=function (){};
var B=Ext.extend(A,{}); -
25 Dec 2010 5:26 AM
- Replies
- 11
- Views
- 3,406
This is strange for me :-P
this..datFed.getEl();
Results 1 to 25 of 26
