1. #1
    Sencha User
    Join Date
    May 2012
    Posts
    4
    Vote Rating
    0
    ram4you81 is on a distinguished road

      0  

    Default how to create dynamic checkbox and redioboxes acording to json data

    how to create dynamic checkbox and redioboxes acording to json data


    i am retrieving the data from a databse and storeing it in a json data format .
    i want to create dynamically checkbox and rediobox according to json data

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,332
    Vote Rating
    83
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  

    Default


    Hi,
    You can add dynamically components as following

    Code:
    var tb =newExt.Toolbar();tb.render(document.body);// toolbar is renderedtb.add({text:'Button 1'});// add multiple items (defaultType for Toolbar is 'button')tb.add({text:'Button 2'});tb.doLayout();// refresh the layout
    for more info see the link http://docs.sencha.com/ext-js/3-4/#!...nel-method-add
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar