How do you create table columns and fields from json? (Dynamic Grid)

前端 未结 3 1101
被撕碎了的回忆
被撕碎了的回忆 2020-12-29 14:03

I have a json file and I assume that I do not know anyting about the content. I do not know the model. However it is given in the json file the model, the data, and other in

3条回答
  •  执念已碎
    2020-12-29 14:23

    You can create grid definition in runtime. Look at the reconfigure method: http://docs.sencha.com/ext-js/4-0/#!/api/Ext.grid.Panel-method-reconfigure

提交回复
热议问题