New to Telerik UI for ASP.NET AJAX? Download free 30-day trial

Resize or hide row indicator column

Environment

Product Telerik WebForms Grid for ASP.NET AJAX

DESCRIPTION

When the AllowRowResize property of the Grid is set to true, RadGrid automatically a column of type GridRowIndicatorColumn, to make it easier for users to resize rows. Depending on certain conditions, one might want to reduce its width or hide it.

SOLUTION

If you wish to resize the column, you can utilize the following CSS rule:

<style>
    .RadGrid col:first-child {
        width: 5px !important;
    }
</style>

If you wish to completely hide the column, you can do so by setting the ShowRowIndicatorColumn property to false:

<Resizing AllowColumnResize="true" AllowRowResize="true" ShowRowIndicatorColumn="false" />
In this article