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

Change DataGrid BackColor for Specific row

How can i change the DataGrid''s BackColor for a specific Criteria dynamically? Thanks in Advance John

1 Reply

AD Administrator Syncfusion Team March 9, 2005 02:14 AM

you can use current cell change event Private Sub datagrid1_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles datagrid1.CurrentCellChanged grdEnquiries.Select(datagrid1.CurrentRowIndex) datagrid1.SelectionForeColor = Color.Black End Sub or create a class for event of cell and inherit from EventArgs use this in the class that derived from DataGridTextBoxColumn class >How can i change the DataGrid''s BackColor for a specific Criteria dynamically? > >Thanks in Advance >John

Loader.
Live Chat Icon For mobile
Up arrow icon