using .NEt 1.1, Windows forms, VB.NET
I have a datagrid where I color certain rows red. I had to override the DatagridTextBoxColumn class to get this to work. The user can filter the data on the datagrid. The problem is when the data is filtered, unless the grid is clicked, the paint event (that colors the rows red) does not get fired.
I have tried dataGrid.Focus and dataGrid.Refresh and it still doesn't work. I have to click on the grid for the coloring to take place. Is there a way to simulate the click event on the grid?