Datagrid Rows color chage
-
Hei, Is there any option to change the rows color of datagrid on some condition, like i wan to change the alternate color of the dg like this
conditionalcolumn color
1 Blue
1 Blue
2 white
3 blue
4 Blue
5 Blue
6 Blue
7 Blue
8 Blue
9 WiteThanks
Syed Shahid Hussain
-
Hei, Is there any option to change the rows color of datagrid on some condition, like i wan to change the alternate color of the dg like this
conditionalcolumn color
1 Blue
1 Blue
2 white
3 blue
4 Blue
5 Blue
6 Blue
7 Blue
8 Blue
9 WiteThanks
Syed Shahid Hussain
-
Hei, Is there any option to change the rows color of datagrid on some condition, like i wan to change the alternate color of the dg like this
conditionalcolumn color
1 Blue
1 Blue
2 white
3 blue
4 Blue
5 Blue
6 Blue
7 Blue
8 Blue
9 WiteThanks
Syed Shahid Hussain
Syed Shahid Hussain wrote:
Is there any option to change the rows color of datagrid on some condition,
How to: Customize Data Formatting in the Windows Forms DataGridView Control[^] Includes an example that changes
Color
andImage
, depending on the data of the row. Enjoy :)I are Troll :suss:
-
Hei, Is there any option to change the rows color of datagrid on some condition, like i wan to change the alternate color of the dg like this
conditionalcolumn color
1 Blue
1 Blue
2 white
3 blue
4 Blue
5 Blue
6 Blue
7 Blue
8 Blue
9 WiteThanks
Syed Shahid Hussain
If I recall correctly, since .net 2.0, the cells have had a background color property. However, back when I was thinking of doing that, I decided to use a TreeView instead -- I avoid data grids whenever possible.
-
Syed Shahid Hussain wrote:
Is there any option to change the rows color of datagrid on some condition,
How to: Customize Data Formatting in the Windows Forms DataGridView Control[^] Includes an example that changes
Color
andImage
, depending on the data of the row. Enjoy :)I are Troll :suss:
U r the best...... Thanks a lot my great friend. for u :rose:
Syed Shahid Hussain
-
U r the best...... Thanks a lot my great friend. for u :rose:
Syed Shahid Hussain