We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Why in bulk edit mode, the AllowAdding="false" property doesn't work?

in the DataGrid in Bach Edit mode, why is the AllowAdding="false" property not taking effect? That is, this property still allows users to enter the column containing the attribute. So how to not allow users to enter while in Bach Edit mode for new adding and editing services?

1 Reply

SP Sarveswaran Palani Syncfusion Team May 8, 2023 03:20 AM UTC

Hi Duong,

Greetings from Syncfusion support.

Query: How to not allow users to enter while in Bach Edit mode for new adding and editing services?

From your query, we suggest you to avoid adding new records to the Grid by set AllowAdding property as false in GridEditSettings. Similarly disable AllowAdding property at the column level helps us to disable the particular column from inserting value to it.If IsIdentity is enabled, then it will be considered as a read-only column when editing and adding a record. We have prepared and attached sample based on your requirement. If you have any further queries, we request you to share the issue reproducible sample or reproduce the reported issue in the provided sample to us. It’ll be helpful to validate further at our end and provide solution as earlier as possible from our end.

Reference: https://help.syncfusion.com/cr/blazor/Syncfusion.Blazor.Grids.GridEditSettings.html#Syncfusion_Blazor_Grids_GridEditSettings_AllowAdding



Attachment: SfGridAdding_a5b22f55.zip

Live Chat Icon For mobile
Up arrow icon