An attribute is used to define the characteristics of an HTML element and is placed inside the element's opening tag. All attributes are made up of two parts − a name and a value The name is the property you want to set. For example, the paragraph <p> element in the example carries an attribute whose name is align,... Next, we want to set some attributes for the grid rows. In my case, I've decided to make the row font a little smaller, so that I can fit more data in my row..GridItem, .GridAltItem { font-size: smaller; } Notice how I have applied the style to both the normal, and the alternating rows. Next, we apply styles to differentiate the alternating rows: Hello, If you need to add some attributes for a grid cell, I suggest you use the ASPxGridView.HtmlDataCellPrepared event instead of HtmlRowCreated. See the How to get ASPxGridView's cell value on a cell click ticket, where a similar scenario is demonstrated and this event is used.

When used in conjunction with internal cascading style sheets, GRID produces a thin grid line rather than a thick double line (the HTML default). In PDF reports you can use the HGRID and VGRID attributes to add horizontal or vertical grid lines and adjust their density. The raised appearance is produced in our website style sheet. To produce the shadow effect on tables you can add this code to your style sheet: table { box-shadow: 4px 4px 10px #000000 } Tables and CSS. These are afew of the most common CSS setting used to define tables. For Table tag: