ComponentOne True DBGrid Pro 8
FetchRowStyle Property (TDBDropDown)

Controls whether the FetchRowStyle event will be fired.

Syntax

object.FetchRowStyle = boolean

Remarks

Read/Write at run time and design time.

If True, the FetchRowStyle event will be fired whenever the grid is about to display a row of data.

If False (the default), the FetchRowStyle event is not fired.

Set this value to True when you need to perform complex per-row formatting operations that can only be done using the FetchRowStyle event. For example, if you want to apply fonts and/or colors to all rows that satisfy certain criteria, then you need to set the FetchRowStyle property to True and write code for the FetchRowStyle event.

Note

To display every other row in a different color or font, you can simply set the AlternatingRowStyle property to True.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback