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

SfDataGrid Row Level Editing Restrictions

   do SfDataGrid Support Row Level AllowEdit which is decided by some conditions ? The requirement  is to allow edit for some columns for those rows which satisfies some condition
  (eg : AllowEdit="ProductPrice<1000"  )

3 Replies

SR Sivakumar R Syncfusion Team March 17, 2015 06:25 AM UTC

Hi Mahesh,

You can disable edit mode for particular cell/row based on condition by handling CurrentCellBeginEdit event. Find the Kb for the same below,

Please let us know if you have any questions.


MN MAHESH NARAYANAN V V March 23, 2015 01:57 PM UTC

Hi Sivakumar,

   Thanks for your reply. 

Your solution is working good for normal columns , but in case of checkbox column  the begin edit / RowSelection Change event is fired only after the value of the check box changed.  Can you please guide on this ?

MK Muthukumar Kalyanasundaram Syncfusion Team March 24, 2015 06:12 PM UTC

Hi Mahesh,

Thanks for the update.

We have analyzed your query. You can achieve your requirement by using ISEnabled property. We have prepare sample as per your need in the below attached sample.

Sample: WpfTestingSample_Checkbox.zip

Please let us know if you have any concerns.


Muthukumar K

Live Chat Icon For mobile
Up arrow icon