The grid display all information correctly, In the event dataGridView1cellFormatting I change the backcolor depending of the object under the line value. This works too. The last event that I have on my grid is the dataGridView1_CellPainting that check if it's the header to add an icon.
Everything is fine until I try to take out the color of the selected line (or cell it does the same thing). What I would like is take out the color of the selected line. I have try to set it with "Transparent" but when the control bind data, the line is gray and when we resize the column size the text is not readable.
How can I display the data inside the DataGridView without having the selected line highlighted?