I used to work with ExtJS 4.2 and I used to work using:
gridStore.model.setFields(...);
Now in ExtJS 6 I tried to used that and I get:
Any clue on what can I use now?
I used to work with ExtJS 4.2 and I used to work using:
gridStore.model.setFields(...);
Now in ExtJS 6 I tried to used that and I get:
Any clue on what can I use now?
You can try store.setFields(fields) method intead of store.model.setFields();.
Please refer docs for more information.