Hi team,
I was trying to use the groupFeature but it is not working.
the config that I added in schedulerPro is:-
groupFeature={{
field: 'taskType'
}}
The column of the resources is defined as:-
"columns": [
{
"filterable": true,
"field": "name",
"text": "Technician"
},
{
"field": "taskType",
"text": "Task Type"
},
{
"filterable": true,
"field": "id",
"text": "Unique ID",
"sortable": false
},
{
"filterable": true,
"field": "team",
"text": "Team",
"sortable": true
},
{
"filterable": true,
"field": "name",
"text": "Technician1"
},
{
"filterable": true,
"field": "id",
"text": "Unique ID1",
"sortable": false
},
{
"filterable": true,
"field": "team",
"text": "Team1",
"sortable": true
},
{
"filterable": true,
"field": "role",
"text": "Role",
"sortable": true
},
{
"filterable": true,
"field": "joining",
"options": {
"type": "time"
},
"text": "joining Date",
"sortable": true
},
{
"field": "zValue",
"options": {
"zTimer": true
},
"text": "SLA Timer"
},
{
"filterable": true,
"field": "workingTime",
"options": {
"dateRangeType": "dateTime",
"type": "dateRange"
},
"text": "Working Time",
"sortable": true
},
{
"filterable": true,
"field": "places",
"options": {
"groupString": true
},
"text": "Places"
}
]
The values for my resources are like:-
"resources": [
{
"taskType": "Build",
"calendar": "day",
"image": "https://www.bryntum.com/examples/examples-scheduler/_shared/images/users/arcady.jpg",
"joining": "2021-01-01 12:00",
"role": "Core developer",
"statusColor": "blue",
"allowTechnicianOverlap": true,
"workingTime": [
{
"start": "2021-11-11 12:00",
"end": "2021-11-11 14:00"
},
{
"start": "2021-11-11 12:00",
"end": "2021-11-11 14:00"
}
],
"placesCalendar": [
"test1",
"test2"
],
"team": "platform",
"icons": [
"@iconlib.WifiOff",
"@iconlib.MenuSchedulingDispatchSolidGrey"
],
"zValue": {
"isSlaPauseDisplayed": "true",
"slaTextColor": "#FFFFFF",
"slaColor": "#ff5f49",
"iconUrl": "https://www.bryntum.com/examples/examples-scheduler/_shared/images/users/arcady.jpg",
"slaValue": "1d 19h 48m"
},
"important": true,
"name": "Arcady",
"id": "a"
},
{
"taskType": "Build",
"important": true,
"image": "https://www.bryntum.com/examples/examples-scheduler/_shared/images/users/arcady.jpg",
"joining": "2021-11-02",
"places": [
"test1",
"test2"
],
"role": "Devops",
"name": "Arun",
"id": "a1",
"team": "platform",
"icons": [
"@iconlib.WifiOff",
"@iconlib.MenuSchedulingDispatchSolidGrey"
]
}]
I am attaching the screenshot:
The version I am using is:-
"@bryntum/schedulerpro": "5.0.0",
"@bryntum/schedulerpro-react": "5.0.0",
Please suggest , what can be the reason.