0
votes

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:

enter image description here

Any clue on what can I use now?

1
You could try whether everything works without adding the fields to the model. An up-to-date field definition is not a hard requirement for a model anymore. - Alexander

1 Answers

0
votes

You can try store.setFields(fields) method intead of store.model.setFields();. Please refer docs for more information.