[CLOSED] CycleButton

  1. #1

    [CLOSED] CycleButton

    Hi,

    I'd like to be able to stop the CycleButton cycling through the menu items when it is clicked i.e. the value of the button can only be changed by explicitly opening and selecting an item in the drop-down menu.

    Is there something I can do in the click event to stop the cycling? It looks like I need to stop toggleSelected() from firing internally onclick.

    Thanks,
    Ben
  2. #2

    RE: [CLOSED] CycleButton

    Hi,

    May be it is better to use simple button with menu or SplitButton in this case
    *
  3. #3

    RE: [CLOSED] CycleButton

    But if need CycleButton you can set empty function for toggleSelected

    <ext:CycleBytton ... >
    ** *<CustomConfig>
    ** * * * <ext:ConfigItem Name="toggleSelected" Value="Ext.emptyFn" Mode="Raw"/>
    ** * * * * * ...




    *
  4. #4

    RE: [CLOSED] CycleButton

    Yes that's perfect.

    I wanted to use a cycle button as the icon and the text of the button change to match the value selected from the menu. The regular button and the split button always have the same value regardless of what you click in the menu.

    Thanks,
    Ben
  5. #5

    RE: [CLOSED] CycleButton

    Hi Ben,

    We have added ToggleOnClick property for CycleButton.
    If set Toggle&#111;nclick="false" then it prevents changing of the active item after button click


  6. #6

    RE: [CLOSED] CycleButton

    Thanks Vladimir.



    Ben

Similar Threads

  1. [CLOSED] CycleButton in gridpanel
    By Jurke in forum 1.x Legacy Premium Help
    Replies: 4
    Last Post: Dec 07, 2010, 10:17 AM
  2. [CLOSED] [1.0] CycleButton in MVC
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 3
    Last Post: Aug 12, 2010, 2:03 PM
  3. [CLOSED] [1.0] CycleButton problem
    By smart+ in forum 1.x Legacy Premium Help
    Replies: 2
    Last Post: Jun 29, 2010, 5:35 PM
  4. How to - Get Value of CycleButton?
    By Tbaseflug in forum 1.x Help
    Replies: 7
    Last Post: Sep 02, 2009, 10:25 AM
  5. CycleButton
    By olimpia in forum 1.x Help
    Replies: 2
    Last Post: Jul 27, 2009, 2:10 PM

Posting Permissions