I have a problem when I bind the data store from the data model in the model I get responses that I have sent when I want to set the data in the grid error Cannot use bind config without a viewModel
in the items section I have also added itemconfig: { viewModel: true } but it still doesn't work and and in view already require controller and model
items: [{
xtype: "formpanel",
autoScroll: true,
items: [{
itemConfig: {
viewModel: true
},
hideHeaders: true,
xtype: 'grid',
height: "200px",
bind:{
store:"{approval_capital_appropriation_request}"
},
columns: [{
dataIndex: "field",
text: "field",
width: "130px"
}, {
dataIndex: "value",
text: "value",
width: "300px"
}]
}]
}]