# C1.Web.Mvc.FlexGridBase-1.TreeColumnIndex

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Web_Mvc_FlexGridBase_1_TreeColumnIndex_" data-uid="C1.Web.Mvc.FlexGridBase`1.TreeColumnIndex*">TreeColumnIndex Property
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Web_Mvc_FlexGridBase_1_TreeColumnIndex_" data-uid="C1.Web.Mvc.FlexGridBase`1.TreeColumnIndex*"></a>
<h4 id="C1_Web_Mvc_FlexGridBase_1_TreeColumnIndex" data-uid="C1.Web.Mvc.FlexGridBase`1.TreeColumnIndex">TreeColumnIndex</h4>
<div class="markdown level1 summary"><p>Gets or sets the index of the column that displays the tree outline (expand/collapse buttons and indentation) in Treegrid.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public virtual int TreeColumnIndex { get; set; }</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Overridable Property TreeColumnIndex As Integer</code></pre>
</div>
<h5 id="C1_Web_Mvc_FlexGridBase_1_TreeColumnIndex_remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>By default (value = -1), the tree outline is shown in the first visible column. Set this property to display the tree outline in a specific column. This API only works in TreeGrid, not in Group.</p>
</div>
</div>
