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

Unable to disable particular row in GridDataBoundGrid

I couldnt disable row in GridDataBoundGrid using GridStyleInfo.Enable function. Its not working inside the event

gridDataBoundGrid1.CheckBoxClick += new GridCellClickEventHandler(gridDataBoundGrid1_CheckBoxClick);


Please help me to fix this issue


1 Reply

AS Athiram S Syncfusion Team August 8, 2013 05:42 AM UTC

Hi Ruby,

Thanks for your interest in Syncfusion Prducts.

You can make use of "PrepareviewStyleInfo" event for disabling a particular row:


 void gridDataBoundGrid1_PrepareViewStyleInfo(object sender, GridPrepareViewStyleInfoEventArgs e)
            if (e.RowIndex == 2)
                e.Style.Enabled = false;

Please let me know if you have any concerns.

Athiram S

Live Chat Icon For mobile
Up arrow icon