1. #1
    Sencha User
    Join Date
    Mar 2007
    Posts
    117
    Vote Rating
    0
    gizzmo is on a distinguished road

      0  

    Default CheckItems in toolbar.

    CheckItems in toolbar.


    Hi

    Is it possible to create a toolbar with a toggle button that have the look as the checkItem.
    I want a toolbar without a drop down, with a couple of checkItems. Function as a togglebutton.
    I can add the checkItem to the toolbar, but the checkHandler does not work if I don't use them in a drop down.

    I'll try do something like:

    Code:
    var tb = new Ext.Toolbar('tb');
    tb.add( new Ext.menu.CheckItem({text:'Some text', checkHandler: this.onItemCheck}) );
    Johan

  2. #2
    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


    Through css you could do it fairly easily with a normal toggle button. There are css classes that can be modified to make it have the check image when toggled. The class is something like x-btn-pressed (check in button.css for the class).

Similar Threads

  1. Border Layout + Toolbar + Scrolling = Non Static Toolbar
    By PuritysDisciple in forum Ext 1.x: Help & Discussion
    Replies: 1
    Last Post: 5 Feb 2007, 11:41 AM

Thread Participants: 1

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