Hybrid View

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

      0  

    Default [FIXED] comboBox and datefield with read only state

    [FIXED] comboBox and datefield with read only state


    we can update value with a click on the calendar icon (idem on comboBox):

    PHP Code:
            FormPanel panel = new FormPanel();
            
    panel.setSize(340180);
            
    panel.setFrame(false);
            
    panel.setHeaderVisible(false);
            
    panel.setBodyBorder(false);
            
    panel.setButtonAlign(HorizontalAlignment.CENTER);
            
    panel.setLayout(new FitLayout());

            
    TabPanel tabs = new TabPanel();

            
    TabItem personal = new TabItem();
            
    personal.setText("Personal Details");
            
    personal.setLayout(new FormLayout());

            
    DateField d = new DateField();
            
    d.setFieldLabel("d");
            
    d.setReadOnly(true);
            
    personal.add(d);

            
    tabs.add(personal);
            
    panel.add(tabs);

            
    Viewport v = new Viewport();
            
    v.add(panel);
            
    RootPanel.get().add(v); 

  2. #2
    Sencha - GXT Dev Team darrellmeyer's Avatar
    Join Date
    May 2007
    Location
    Washington, DC
    Posts
    2,242
    Vote Rating
    2
    darrellmeyer is on a distinguished road

      0  

    Default


    Fix is in SVN.

Thread Participants: 1