[OPEN] [#113] [2.x] Button w/ Menu - Disabled look and feel

  1. #1

    [OPEN] [#113] [2.x] Button w/ Menu - Disabled look and feel

    [SENCHA bug ticket is EXTJSIV-8146]
    [4.2.0 beta] Menu icon of disabled Button looks enabled

    On the BottomBar of my GridPanel I have Buttons w/Menus. When a row is selected I determine what buttons and menus are enabled. If all the menuitems under a button are disabled then I disable the button also. The only issue I have is the downarrow associated with the button is still black and not greyed out.

    Is this a bug and should automatically happen by default or do I need to define a cls and assign it.

    See the Ext.Net example https://examples2.ext.net/#/Toolbar/...ar_with_Menus/ and change the code to disable the first button by default.

    ...
       <Items>
          <ext:Button ID="MenuButton" runat="server" Text="Button w/Menu" Disabled="true">
             <Menu>
    ...
    Last edited by cwolcott; Mar 07, 2013 at 1:27 PM.
  2. #2
    Hi Chris,

    Thank you for the report. I think it is a bug and reported to Sencha.
    http://www.sencha.com/forum/showthread.php?252859

    For now you can try to apply custom CSS to get it disabled or, maybe, just hide.
  3. #3
    Sencha opened a bug ticket.

    We created an Issue to track it.
    https://github.com/extnet/Ext.NET/issues/113
  4. #4
    Bumped on Sencha to try and determine status ...

    http://www.sencha.com/forum/showthread.php?252859

Similar Threads

  1. Replies: 5
    Last Post: Jan 09, 2017, 6:07 PM
  2. [CLOSED] Button appears as disabled after .disabled = false set
    By registrator in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Apr 28, 2015, 7:55 AM
  3. Replies: 9
    Last Post: Jan 16, 2015, 4:22 PM
  4. Replies: 4
    Last Post: Jun 11, 2013, 6:02 AM
  5. [CLOSED] When button click, open the menu of button
    By supera in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Feb 22, 2012, 4:23 PM

Posting Permissions