BoldSign®Effortlessly integrate e-signatures into your app with the BoldSign® API. Create a sandbox account!
I am currently using the ejs-diagram
component with the type: 'SwimLane'
in an Angular 18 project. I would like to disable editing on the Lane headers.
I have reviewed the documentation but could not find a solution for this specific requirement. I also attempted to apply constraints: AnnotationConstraints.ReadOnly
, but it did not achieve the desired result.
Could you kindly advise if there is a way to disable editing on Lane headers? I would greatly appreciate your assistance and any guidance you can provide.
Thank you in advance for your support!
Best regards,
Hi,
Based on the provided code snippet, to disable the editing of the lane header, we need to set the annotation constraints to AnnotationConstraints.ReadOnly. We are unclear about your scenario and how to replicate the issue you're facing as its working fine When defining the lane at initial rendering and adding lanes at runtime, the annotation remains disabled from editing.
Please provide a reproducible sample of the issue or modify the provided sample to help us better understand the problem.
Sample: 7diu7pq5 (forked) - StackBlitz
Regards,
Moulidharan G
Hello,
I’ve already mocked up the component using the sample below. But for some reason, the lane header isn’t enabled like it is in my local project.
Sample: stackblitz
PS. I am using "@syncfusion/ej2": "^26.2.10",
Hi,
To disable interaction with lane header, you need to set the annotations constraint to "AnnotationConstraints.ReadOnly". To enable interaction on lane header, you can remove the "AnnotationConstraints.ReadOnly" annotation constraints. In your sample, you have disabled annotation interaction by setting AnnotationConstraints.ReadOnly". Please let us know if you need further assistance.
Regards,
Dhakshin D