Hi there!
I'm using VB2005, and i got a problem with sorting in a bound datagridview. Every column is readonly except one checkboxcolumn. this column has some cells readonly which i populate programmatically depending on another value in the datasource.
When a user checks/unchecks a cell, i change its backcolor, and add a value in the cell.tag property. Everything works fine until the user sort a column (all the columns are sortable - automatic). After sorting, every cell in the checkboxcolumn is back to .readonly=false and the .tag and .backcolor property is cleared.
Is there a way to prevent this behavior ?
thanks in advance...
Start Free Trial