Hello bryntum,
I want to filter the records based on the type of the row. Look at the image below.
The one in red is like a parent and the others in green are its children.
I want to filter them based on parent/child. I'm already using the filtering functionality from bryntum. Below is the code for that.
gantt.current.instance.tbar.add([
{
type: 'button',
ref: 'filterAllButton',
icon: 'b-gantt-filter',
tooltip: 'Filter',
menu: {
pickergroup: {
grid: gantt.current.instance,
type: 'gridfieldfilterpickergroup',
// fields: [
// { name: 'name', type: 'string', text: 'Name' },
// { name: 'owner', type: 'string', text: 'Owner' },
// { name: 'function', type: 'string', text: 'Function' },
// ],
},
},
},
]);
So I want to include a one more property called 'type' and the values for it are should be parent/child.
Is this possible, please suggest.
Thanks,
Bharat.