[CLOSED] Expand get collapsed after message box OK button click

  1. #1

    [CLOSED] Expand get collapsed after message box OK button click

    I need to validate a combo on button click and if not validate then show a message box and combo get expand,but combo collapse after message box ok button click.please see the code.

            new ListItem("VALUE 1","1"),
            new ListItem("VALUE 2","2"),
            new ListItem("VALUE 3","3")
            .Text("Validate Combo")
            .Listeners(l =>
                    l.Click.Handler = @"if(App.combo.getValue()<=0)
                                             msg: 'Select a value from combo.',
                                             buttons: Ext.Msg.OK,
                                             icon: Ext.Msg.INFO
    Last edited by Daniil; Nov 25, 2014 at 3:07 PM. Reason: [CLOSED]
  2. #2
    Hi @matrixwebtech,

    It is how a ComboBox behaves. It hides it drop down list then something else is clicked.

    I would recommend you to consider some other way to notify a problem to a user without leading him to click something. Maybe, the standard validation mechanism.

Similar Threads

  1. [CLOSED] Collapsed panel with border layout can't expand
    By Webezi in forum 2.x Legacy Premium Help
    Replies: 2
    Last Post: Jul 15, 2014, 11:58 PM
  2. [CLOSED] Expand collapsed panel
    By uniway in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jan 15, 2013, 1:41 PM
  3. Group - Expand with single click
    By Tbaseflug in forum 2.x Help
    Replies: 2
    Last Post: Nov 09, 2012, 1:06 PM
  4. Replies: 1
    Last Post: Mar 13, 2012, 8:37 AM
  5. How to Expand the collapsed panel from java script
    By ajaybabu.maddinani in forum 1.x Help
    Replies: 4
    Last Post: Mar 12, 2010, 2:42 AM

Posting Permissions