Object Reference > TDBDropDown Properties > EmptyRows Property (TDBDropDown) |
The EmptyRows property returns or sets a value that determines how the grid displays rows below the last data row.
object.EmptyRows= boolean
Read/Write at run time and design time.
If all of the records in the data source do not fill up the entire grid, setting EmptyRows to True will fill the unpopulated grid area with empty data rows. If EmptyRows is False (the default), then the unpopulated grid area will be blank and will be filled with the system 3D Objects color (or the system Button Face color) as determined by your Control Panel settings.
Note
The RowDividerStyle property applies to data rows and empty rows alike. You cannot suppress row dividers for just the empty rows when EmptyRows is True.