Our state of the art Gantt chart


Post by ahmad.siddique »

Hi everyone,

Is there any way I can change this title in Bryntum Gantt?

Screenshot 2024-03-10 at 4.36.49 PM.png
Screenshot 2024-03-10 at 4.36.49 PM.png (361.25 KiB) Viewed 75 times

Post by tasnim »

Hi,

Yes, you could set https://bryntum.com/products/gantt/docs/api/Scheduler/view/export/SchedulerExportDialog#config-header to a string value to achieve this

features : {
	print : {
		header : 'Custom Panel Header'
	}
}
Screenshot 2024-03-10 180010.png
Screenshot 2024-03-10 180010.png (47.67 KiB) Viewed 73 times

Best regards,
Tasnim


Post by ahmad.siddique »

Thanks, Tasnim.
I've already tried it, and its incompatible with he type provided, hence doesn't work.

Screenshot 2024-03-10 at 5.35.32 PM.png
Screenshot 2024-03-10 at 5.35.32 PM.png (45.62 KiB) Viewed 72 times
Screenshot 2024-03-10 at 5.35.43 PM.png
Screenshot 2024-03-10 at 5.35.43 PM.png (108.23 KiB) Viewed 72 times

Post by tasnim »

Ah, Sorry. My bad, the header should be inside of the exportDialog

features : {
	print : {
		exportDialog : {
			header : 'Hello'
		}
	}
}

https://bryntum.com/products/gantt/docs/api/Gantt/feature/export/Print#config-exportDialog

Now it should work.


Post by ahmad.siddique »

Thanks it worked


Post Reply