Results 1 to 2 of 2

Thread: Placing check box before Input field

  1. #1
    Sencha User
    Join Date
    Jan 2012
    Vote Rating

    Default Unanswered: 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
    Gainesville, FL
    Vote Rating


    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!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2

    Think my support is good? Get more personalized support via a support subscription.

    Need more help with your app? Hire Sencha Services

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is in print!

    When posting code, please use BBCode's CODE tags.

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