# Unpopulated Regions

## Content



Depending upon the number of rows and columns in the data source, a portion of the grid's interior may not contain data cells. However, these "dead zones" can be eliminated using the [ExtendRightColumn](/componentone/docs/win/online-truedbgrid/) and [EmptyRows](/componentone/docs/win/online-truedbgrid/) properties. Change the color of the dead areas by using the [BackColor](/componentone/docs/win/online-truedbgrid/) property.

## The Rightmost Column

As the grid scrolls horizontally until the last column is totally visible, there is usually a blank area between the last column and the right border of the grid.<br />

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/rightmost-column-blank.png)

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 [ExtendRightColumn](/componentone/docs/win/online-truedbgrid/) property. The default value of this property is **False**, but if set it **True**, the last column will extend its width to the right edge of the grid.<br />

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/extend-right-column.png)

## Unused Data Rows

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](/componentone/docs/win/online-truedbgrid/) is **False**) is left blank.<br />

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/unused-data-row-1.png)

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](/componentone/docs/win/online-truedbgrid/) 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.<br />

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/unused-data-row-2.png)

Note that the empty rows cannot receive focus.

Both the **EmptyRows** and [ExtendRightColumn](/componentone/docs/win/online-truedbgrid/) properties can be set to **True** to ensure that no blank areas appear within the interior of the grid.

![](https://cdn.mescius.io/document-site-files/images/a1b176e5-6638-4b1f-a786-e41a817558bb/images/unused-data-row-3.png)