Search:

Type: Posts; User: inf3rno

Page 1 of 2 1 2

Search: Search took 0.11 seconds.

  1. Replies
    0
    Views
    849

    Changing proxy by dragzone

    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 ...
  2. Replies
    2
    Views
    1,402

    No, maybe the dragged area has no...

    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...
  3. Replies
    2
    Views
    1,402

    DragZone turn off fade effect

    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.
  4. Replies
    0
    Views
    1,288

    Drag&drop hbox layout panels

    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...
  5. Replies
    2
    Views
    2,264

    I'm ready with my extension, you can download it...

    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...).
  6. Replies
    0
    Views
    1,678

    Cancel bubble by nested drop targets

    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"}),...
  7. Thanks! :-)

    Thanks! :-)
  8. Panel.setTitle after construct but before render

    Hi!

    Can anybody tell me, why this works:


    var c=new Ext.Panel(
    {
    title: "a"
    });
    c.title="test"; //c.rendered is false here
  9. Replies
    2
    Views
    1,701

    Nice, thanks! :-)

    Nice, thanks! :-)
  10. Replies
    2
    Views
    1,701

    I need Panel.insertBefore

    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....
  11. Replies
    3
    Views
    2,465

    Hmm, do you say, that I must remove it manually...

    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;
    ...
  12. Replies
    3
    Views
    2,465

    Panel.remove has no effect without destroy

    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.


    ...
  13. Replies
    6
    Views
    2,450

    The autoHeight works, thanks a lot! I tried...

    The autoHeight works, thanks a lot!

    I tried out columnLayout, but with the " hbox flex" property it's much easier to display my data.
  14. You can clone the constructor with this method: ...

    You can clone the constructor with this method:


    Function.prototype.clone=function ()
    {
    if (!this.cloner)
    {
    this.cloner=new Function("return "+this.toString()+";");
    }
    ...
  15. Ok, you're right! var A=function...

    Ok, you're right!


    var A=function (){};
    var B=function (){};

    var m=
    {
    test: function ()
    {
  16. Extend multiple classes with the same methods

    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=...
  17. Replies
    6
    Views
    2,450

    I'll write a loader to build this tree...

    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...
  18. Replies
    6
    Views
    2,450

    As I posted: var append=function...

    As I posted:


    var append=function (parent,child)
    {
    parent.add(child);
    parent.doLayout();
    };
    so
    append(cc1,c1) === { cc1.add(c1); cc1.doLayout(); }
  19. Replies
    6
    Views
    2,450

    Dynamically add panels to panels

    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();
    };
  20. Replies
    2
    Views
    2,264

    I tried to extend the TreeNodeUI, and I can...

    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...
  21. Because my columns and my text containers are...

    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:...
  22. It's compicated :S I have a TreePanel with a...

    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...
  23. I hadn't found implementation for this problem,...

    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))
    ...
  24. Checking whether a class is a descendant of another class

    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. Replies
    11
    Views
    4,827

    This is strange for me :-P ...

    This is strange for me :-P


    this..datFed.getEl();
Results 1 to 25 of 26
Page 1 of 2 1 2