limit gridline to only positive value

Hello,
I would be thankful if someone let me know How can I limit my grid lines to only positive values? I don't like users able to drag objects to a negative offset and below the zero range.
Best Regards,
Behnam 


2 Replies 1 reply marked as answer

BM Balasubramanian Manikandan Syncfusion Team August 14, 2023 12:58 PM UTC

We can able to replicate the issue and we will validate and update with more details on Aug 17th, 2023



SJ Sivaranjith Jeyabalan Syncfusion Team August 15, 2023 07:12 AM UTC

Hi Behnam,

We have created a sample to achieve your requirement. By configuring boundary constraints as 'Diagram' in pageSettings, you can restrict swimlane dragging in the negative region. By default, the boundary constraints are set to "Infinity". Please find the sample below for your reference.

Sample: 9mabv2 (forked) - StackBlitz

Regards,

Sivaranjith.


Marked as answer
Loader.
Up arrow icon