1. #1
    Ext User
    Join Date
    Mar 2007
    Posts
    44
    Vote Rating
    0
    alex1er is on a distinguished road

      0  

    Default new TreePanel

    new TreePanel


    Hello.

    I'de like to know if it will be possible to do the following with the new TreePanel :

    - Set icon or not
    - Set differents icons for node in the same 'folder'
    - Set the icon on the left or on the right of the text
    - Have checkbox in the node
    - Have multiselection enable in a same 'folder', in order to select many node and create with them a new node with those items.


    Thanks for response and Happy new year!

  2. #2
    Sencha User
    Join Date
    Mar 2007
    Location
    Haarlem, Netherlands
    Posts
    1,243
    Vote Rating
    10
    TommyMaintz will become famous soon enough TommyMaintz will become famous soon enough

      0  

    Default


    - Set icon or not
    - Set differents icons for node in the same 'folder'
    - Set the icon on the left or on the right of the text

    These three things can all be achieved with css and classnames i suppose

    - Have checkbox in the node
    - Have multiselection enable in a same 'folder', in order to select many node and create with them a new node with those items.

    This i dont know if possible with the new tree, havent checked out the tree component really well actually, but if they are not supported, i think they are easy to create with the functions that are available in the tree component.

    Btw, i dont think a checkbox in the tree will give you alot of trouble. Don't see what it can break at first thought

  3. #3
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    Tri-state checkboxes are planned.

    Icons are done through css and/or an "icon" attribute on the node. An icon attribute has priority over a css background image, as it becomes the source for the img.

    You can add a css class to a node with the cls attribute.

    See the examples, every one of them has css in the page for setting node icons.

    There is a multi-selection model, but multi-drag drop is not supported currently.

Similar Threads

  1. treepanel of yui-ext 0.40
    By humpdi in forum Ext 1.x: Help & Discussion
    Replies: 7
    Last Post: 20 Feb 2007, 2:51 PM
  2. TreePanel
    By dolittle in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 20 Feb 2007, 2:12 PM
  3. TreePanel not functioning
    By jack.slocum in forum Ext 2.x: Help & Discussion
    Replies: 12
    Last Post: 20 Feb 2007, 4:13 AM
  4. Bug in new TreePanel
    By manugoel2003 in forum Ext 1.x: Bugs
    Replies: 2
    Last Post: 24 Jan 2007, 11:43 PM
  5. TreePanel
    By seldon in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 12 Jan 2007, 1:40 PM

Thread Participants: 2

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi