I know how to do this on a standard DataGridView
, for example:
DataGridView.Rows[i].Cells[j].Style.ForeColor = Color.Red;
. How to do the same on C1TrueDBGrid
(or TrueDBGrid
) from ComponentOne library? (without using events). I tried many ways, including
DetailTGrid.Rows[i].Cells[j].Style.ForeColor = Color.Red;
DetailTGrid[i, j].Style.ForeColor = Color.Red;
DetailTGrid.Columns[j].Rows[i].Style.ForeColor = Red;
But nothing works. edit: Well, or at least how to change the color of the entire line?