[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 160
  • Last Modified:

Data Grid

How can i customize the color of a row in the datagrid?
0
sarangkd
Asked:
sarangkd
3 Solutions
 
natlozCommented:
The properties of the datagrid has a whole bunch of COLOR properties under the COLOR section...you can specify alternating colors for the rows etc...
0
 
ddeteringCommented:
Here you have alternating styles:
BackColor="White" alternatingitemstyle-backcolor="#ffff99"
just insert this into your datagrid opening tag and set your color. If you want it all one color, omit the "alternatingitemstyle-backcolor="..." part

Cheers,
Dietmar
0
 
gajender_99Commented:
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now