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

Bach Edit and AllowAdding="false"

in the DataGrid in Bach Edit mode, why is the AllowAdding="false" property not taking effect? So how to not allow users to enter while in Bach Edit mode for new adding and editing services?


1 Reply 1 reply marked as answer

SP Sarveswaran Palani Syncfusion Team May 8, 2023 03:19 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

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


Regards,
Sarvesh



Attachment: SfGridAdding_7243af9b.zip

Marked as answer
Loader.
Live Chat Icon For mobile
Up arrow icon