Results 1 to 2 of 2

Thread: Placing check box before Input field

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    69
    Answers
    2
    Vote Rating
    0
      0  

    Default Placing check box before Input field

    I have Panel with set of fields,Those fields have some bundled validation rules and other functions like setValue,InitValue etc.Now am trying to insert check box field at the run time,Tryed with insert add funtions of Ext JS,but they are inserting on separate row of the panel,But i need to insert this checkbox before one of the input field,For that I have created new panel with new input field and check box and added to parent panel this works fine from placing check box before input field point of view,But the problem is input field loosing its native configuration options like setValue,initValue,validator etc and throws error,Any suggestion to place check box without harming the input field components.

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,553
    Answers
    3931
    Vote Rating
    1272
      0  

    Default

    insert method is what you want, you just need to figure out the correct index to insert to.
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •