ComponentOne True DBGrid for WinForms
Customizing the Grid's Appearance / Unpopulated Regions / Unused Data Rows
In This Topic
    Unused Data Rows
    In This Topic

    If the data source contains fewer rows than the grid can display, the area below the AddNew row (or the last data row, if AllowAddNew is False) is left blank.


    The color of this blank area depends on the setting of your system's 3D Objects color (or Button Face color). Eliminate this blank area with the EmptyRows property. The default value of this property is False, but if set to True, the grid will display empty rows below the last usable data row.


    Note that the empty rows cannot receive focus.

    Both the EmptyRows and ExtendRightColumn properties can be set to True to ensure that no blank areas appear within the interior of the grid.


    See Also