Subject + Project in Calendar View of Task

In Task Doctype, When we use Calendar view its showing only Subject, But I want it should show the Subject + Project . Is there any way to achieve this functionality by front end itself?

Dear @Syed_Ahamed

I don’t think it’s possible in the front-end. Let me know, if you made it happen. It would be a learning for me, as well.

To customize the Calendar view in ERPNext to show both the Subject and Project for tasks, you can achieve this by modifying the Calendar settings for the Task Doctype.

Use the client side script for this.

frappe.views.calendar["Task"] = {
    field_map: {
        "start": "start_date",
        "end": "end_date",
        "id": "name",
        "title": "subject",
        "allDay": "all_day",
        "progress": "progress",
        "color": "color"
    },
    options: {
        header: {
            left: 'prev,next today',
            center: 'title',
            right: 'month,agendaWeek,agendaDay'
        },
        editable: true,
        droppable: true
    },
    get_events_method: "erpnext.projects.doctype.task.task.get_events",
    filters: [
        {
            "fieldtype": "Link",
            "fieldname": "project",
            "options": "Project",
            "label": __("Project")
        }
    ],
    get_event_title: function(data) {
        return data.subject + " - " + data.project;
    }
};