Forum /
Ext JS Community Forums 4.x /
Ext: Discussion /
how dynamic set fileds to store??
how dynamic set fileds to store??
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
Sencha - Senior Forum Manager
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.
Sencha - Support Team
You could try something like:
http://www.sencha.com/forum/showthre...l=1#post624792
Then use grid.reconfigure() for your grid columns.
Regards,
Scott.
Sencha is used by over two million developers. Join the community, wherever you’d like that community to be
or Join Us