1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Vote Rating
    0
    Patlatus is on a distinguished road

      0  

    Default [Question] Have draggable items of DataView or in Web Desktop Sample?

    [Question] Have draggable items of DataView or in Web Desktop Sample?


    Do we have any native ability in DataView (or in Web Desktop Sample) to have draggable items?<br>Actually as far as I understand we don't have any config options for items of DataView, where we can make them draggable, because they are not descendants of Component.<br>Am I wrong?<br>But we can make whole DataView draggable, since it is a Component.<br>I have tried to implement multiple DataViews, each containing only one element, they can be dragged, but still their position are not saved when refreshing page (stateful config option doesn't help), and their possibility to drag such element clicking over its element. I want to let it drap only when mouse is inside its element.<br>Here is my example so far<br><a href="http://julfysoft.orgfree.com/desktop.html">http://julfysoft.orgfree.com/desktop.html</a>

  2. #2
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Vote Rating
    0
    Patlatus is on a distinguished road

      0  

    Default [Question] Have draggable items of DataView or in Web Desktop Sample?

    [Question] Have draggable items of DataView or in Web Desktop Sample?


    Do we have any native ability in DataView (or in Web Desktop Sample) to have draggable items?
    Actually as far as I understand we don't have any config options for items of DataView, where we can make them draggable, because they are not descendants of Component.
    Am I wrong?
    However we can make whole DataView draggable, since it is a Component.
    I have tried to implement multiple DataViews, each containing only one element, they can be dragged, but still their position are not saved when refreshing page (stateful config option doesn't help), and their possibility to drag such element clicking over its element. I want to let it drap only when mouse is inside its element.
    Here is my example so far
    http://julfysoft.orgfree.com/desktop.html

  3. #3
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi!

    have you seen this:-
    http://www.sencha.com/forum/showthre...op-to-DataView

    also, check out an example of drag n drop from Book ExtJS in action :-

    http://extjsinaction.com/examples/chapter14/
    http://extjsinaction.com/examples/ch...ltiselect.html
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  4. #4
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Duplicate of

    http://www.sencha.com/forum/showthre...ample&p=852356

    Merging both Threads!

    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

  5. #5
    Sencha User
    Join Date
    Mar 2012
    Posts
    35
    Vote Rating
    0
    Patlatus is on a distinguished road

      0  

    Default


    Quote Originally Posted by sword-it View Post



    Hi, sword-it.
    Thank you for quick answer.
    These links are actually about dnd - drag and drop, so you didn't understand me correct.
    I don't want dnd - drag and drop, I just want "dragging" "moving" inside one window, one dataview.
    I tried to assign
    Code:
     cls: 'cursor-dragme',
            draggable: {
                constrain: true,
                constrainTo: Ext.getBody()
            },
    to items of dataview (like in "draggable Tiger" example [http://dev.sencha.com/deploy/ext-4.0...aw/Tiger.html]), but I couldn't, because dataview doesn't have items that can be initialized in that way.
    So, I want "many draggable tigers" that look like items of Dataview, so they have icon, text, and on icon doubleclick some action can be executed (or just method called).

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar