1. #1
    Ext User
    Join Date
    Apr 2010
    Location
    Mumbai, India
    Posts
    12
    Vote Rating
    0
    snehap.1284 is on a distinguished road

      0  

    Default Single Cell Selection in TreeEditor

    Single Cell Selection in TreeEditor


    Ext.tree.ColumnTreeEditor is using DefaultSelectionModel. I wanted to know where there is any other model or custom function written, which can select multiple cells in one column in the grid by using the SHIFT key. The MultiSelectionModel does not serve my requirement as the entire row will be selected. What I want is like the I am the CellSelectionModel in the grid.

    For Eg:

    ID Name Desc
    1 -Item1 SomeDEsc1
    2. - SubItem1 SomeDEsc2
    3. -SubsubItem1 SomeDEsc3
    4 -Item2 SomeDEsc4
    5. - SubItem2 SomeDEsc5
    6. -SubsubItem2 SomeDEsc6


    The Data is populated using JSON. The requirement is that I want to copy desc cell in the first row, Copy it using Ctrl+C, then select desc cell in the 2nd row, press shift and click on desc cell of 6th row, then Paste the copied value in all the selected cells

    And then the tree should look like:
    ID Name Desc
    1 -Item1 SomeDEsc1
    2. - SubItem1 SomeDEsc1
    3. -SubsubItem1 SomeDEsc1
    4 -Item2 SomeDEsc1
    5. - SubItem2 SomeDEsc1
    6. -SubsubItem2 SomeDEsc1
    Last edited by snehap.1284; 28 Apr 2010 at 2:10 AM. Reason: Indentation Correction

  2. #2

  3. #3
    Ext User
    Join Date
    Apr 2010
    Location
    Mumbai, India
    Posts
    12
    Vote Rating
    0
    snehap.1284 is on a distinguished road

      0  

    Default


    Thanks issameddine..

    But these links give information about the Grid.

    Where as wht I am looking for is in editable Tree. ColumnTreeEditor that I mentioned in the previous post is created as followed

    Ext.extend(Ext.tree.ColumnTreeEditor, Ext.tree.TreeEditor)
    {
    code to set other relevant attributes
    }


    d u knw abt any link which provides single cell selection in the editable tree? I am trying to search for it from nearly one week now but in vain

  4. #4
    Sencha User issameddine's Avatar
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    126
    Vote Rating
    1
    issameddine is on a distinguished road

      0  

    Default


    Hello, I m Sorry
    in this link, look reply number 7, I think it's the same idea as yours

    http://www.extjs.com/forum/showthrea...-example/page3

    good luck

  5. #5
    Ext User
    Join Date
    Apr 2010
    Location
    Mumbai, India
    Posts
    12
    Vote Rating
    0
    snehap.1284 is on a distinguished road

      0  

    Default


    Thanks a lot ...

  6. #6
    Sencha User issameddine's Avatar
    Join Date
    Apr 2008
    Location
    Tunisia
    Posts
    126
    Vote Rating
    1
    issameddine is on a distinguished road

      0  

    Default


    not at all my friend, I hope you've found the solution. shares it
    سبحان الله و الحمد لله و لا اله إلا الله و الله أكبر و لا حول ولا قوة إلا بالله
    اللهم صل وسلم وبارك على نبينا وحبيبنا محمد واله الطيبين الطاهرين
    سبحان الله و بحمده عدد خلقه و رضا نفسه و زنة عرشه و مداد كلماته

Thread Participants: 1

Tags for this Thread

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