Hello,
I apply this filter in my Gantt : taskStore.filterBy(task => mycondition)
The filter work well and no data is display. But there is no message which appears (eg: "no record to display") like the advandced example.
How can I fixed this please ?
seem's th css class b-grid-empty which not generate
Support Forum
Hello,
I can't copy full code from my enterprise, but code seem's like that :
I can't copy full code from my enterprise, but code seem's like that :
const config = {
project: new ProjectModel({
calendar: 'general',
...createData(props),
}),
columns: props.columns,
height: 500,
readOnly: true,
subGridConfigs: {
normal: {
collapsed: true,
},
locked: {
flex: 1,
},
},
columnLines: false,,
userId: props.userId,
}
ganttRef.current = new Gantt({
...config,
appendTo: elementRef.current,
})
ganttRef.current.taskStore.filterBy(task => task.userId && task.userId === config.userId)