Record name/display is not updated when the grid records are updated. I even added a console log on the .add() but the grid display and console log does not update and console log for formatting the name is not re-called.
how can i implement a refresh for each record updated or like resumerefresh() to refresh the grid.
class Task extends EventModel {
static get defaults() {
return {
// in this demo, default duration for tasks will be hours (instead of days)
durationUnit : 'h'
};
}
}
Still not seeing full picture. The store you use for the grid needs to have ”modelClass” set to a model which defines the fields you want to show / edit
Hello.
I'm afraid code snippets you are posting here do not paint full picture. I see you declared TaskStore and Task model here. I can only assume you instantiate correct store when you pass it to the Grid, smth like:
new Pooltech({
store : new TaskStore({...})
})
So far it seems that you do not use the store instance. Please add missing code here.