Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default Unanswered: ExtJS inline tree editing

    Unanswered: ExtJS inline tree editing


    Hi team,
    i am using extjs4, and i am not able to find any way to do some inline editing of my tree using Ext.tree.TreeEditor class(which is not included in EXTJS4).

    Can anyone help me quickly to understand the process to implement such functionality in my application.
    All i want is to edit a tree leaf using inline editing and updating my database as per the changes done in inline edit mode on leaf.

    Regards
    UT

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    36,519
    Answers
    3447
    Vote Rating
    814
    mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute mitchellsimoens has a reputation beyond repute

      0  

    Default


    Where did you get Ext.tree.TreeEditor?
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    probably this one:
    http://www.sencha.com/forum/showthre...eleases-native

    in case of yes, i would ask your question directly in the topic of the UX, since it is related to it.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  4. #4
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    Ext.tree.TreeEditor() was shipped in EXTJS ver 3.0 however it is missing from EXTJS4.0 now.
    I have tried using Ext.Editor() to convert any element into editable textfield, i was successful to edit available Div section on the page. however i now i need to know the method using which i can implement it on tree leaf

    i.e. if i doubleclick on any leaf of the tree it should convert in editable text-field, and i should be able to change and save the text of it using my webservice.

    Please let me know if EXTJS provides such activities to be performed on treepanel

  5. #5
    Sencha User
    Join Date
    Nov 2011
    Posts
    13
    Vote Rating
    0
    utkarshk.leeway is on a distinguished road

      0  

    Default


    hi tobiu.
    yes this is something which is i am really looking for. i think Editing tree leafs/nodes functionality is not available in EXTJS4. Please do the needful.

    Thanks in advance
    UT

    Quote Originally Posted by tobiu View Post
    probably this one:
    http://www.sencha.com/forum/showthre...eleases-native

    in case of yes, i would ask your question directly in the topic of the UX, since it is related to it.

  6. #6
    Sencha User
    Join Date
    Oct 2011
    Location
    Ukraine
    Posts
    154
    Answers
    11
    Vote Rating
    6
    Romick is on a distinguished road

      0  

    Default I use grid edit cell plugin

    I use grid edit cell plugin


    I use grid edit cell plugin
    PHP Code:
    var cellEditing Ext.create('Ext.grid.plugin.CellEditing', {
            
    clicksToEdit1
        
    });

    Ext.grid.plugin.Editing.override({
        
    getEditingContext: function(recordcolumnHeader) {
            var 
    me this,
                
    grid me.grid,
                
    store grid.store,
                
    rowIdx,
                
    colIdx,
                
    view grid.getView(),
                
    value;

            
            if (
    Ext.isNumber(record)) {
                
    rowIdx record;
                
    record store.getAt(rowIdx);
            } else {
                if (
    store.indexOf) {
                    
    rowIdx store.indexOf(record);
                } else {
                    if (
    columnHeader.ownerCt.lockableInjected) {
                        if (
    columnHeader.locked) {
                            
    rowIdx view.lockedView.indexOf(view.lockedView.getNode(record));
                        } else {
                            
    rowIdx view.normalView.indexOf(view.normalView.getNode(record));
                        }
                    } else {
                        
    rowIdx view.indexOf(view.getNode(record));
                    }
                }
            }
            if (
    Ext.isNumber(columnHeader)) {
                
    colIdx columnHeader;
                
    columnHeader grid.headerCt.getHeaderAtIndex(colIdx);
            } else {
                
    colIdx columnHeader.getIndex();
            }

            
    value record.get(columnHeader.dataIndex);
            return {
                
    gridgrid,
                
    recordrecord,
                
    fieldcolumnHeader.dataIndex,
                
    valuevalue,
                
    rowview.getNode(rowIdx),
                
    columncolumnHeader,
                
    rowIdxrowIdx,
                
    colIdxcolIdx
            
    };
        }    
    }); 
    and then in column definition write
    PHP Code:
    {
              
    text'Planned Date',
              
    dataIndex'col5',
              
    width70,
              
    sortablefalse,
              
    rendererExt.util.Format.dateRenderer('d-M-Y'),
              
    editor: {
                
    xtype'datefield',
                
    format'd-M-Y'
              
    }
            } 

  7. #7
    Sencha User
    Join Date
    Mar 2013
    Posts
    13
    Vote Rating
    -1
    rt.karthik87 is an unknown quantity at this point

      0  

    Default Tree Grid with ComboBox

    Tree Grid with ComboBox


    Is there way to create inline combo box renderer in tree column some thing like this

    tree column.jpg

    i need renderer only. not the editor one available in tree column.