Results 1 to 3 of 3

Thread: how dynamic set fileds to store??

  1. #1
    Sencha User
    Join Date
    Jun 2010
    Posts
    31
    Vote Rating
    0
      0  

    Default

    how ? no method and no properties but config.

    i want to dynamic generate grid column , so i define a store first, then i want's set fileds to the store

  2. #2
    Sencha User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,050
    Vote Rating
    1381
      0  

    Default

    The store will need a model (it creates one if you specify the fields config). You cannot really change the fields in a model so you would have to create a new model.
    Mitchell Simoens @LikelyMitch
    Modus Create, Senior Frontend Engineer
    ________________
    Need any sort of Ext JS help? Modus Create is here to help!

    Check out my GitHub:
    https://github.com/mitchellsimoens

  3. #3
    Sencha - Support Team scottmartin's Avatar
    Join Date
    Jul 2010
    Location
    Houston, Tx
    Posts
    9,407
    Vote Rating
    503
      0  

    Default

    You could try something like:
    http://www.sencha.com/forum/showthre...l=1#post624792

    Then use grid.reconfigure() for your grid columns.

    Regards,
    Scott.

Posting Permissions

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