Home > DeveloperSection > Forums > How to remove the extra column in DevExpress GridControl using wpf?
Manoj Bhatt
Manoj Bhatt

Total Post:153

Points:1079
Posted on    August-08-2013 7:35 AM

 WPF WPF 
Ratings:


 1 Reply(s)
 2273  View(s)
Rate this:

Basically my requirement is to remove the extra column in DevExpress GridControl using wpf. I have a GridControl which is contain three columns but problem is that in GridControl shows three columns perfectly but rest of GridContol area is shows like extra column, I want to remove that extra column so is there any solution please help me.



shreesh chandra shukla
shreesh chandra shukla

Total Post:105

Points:735
Posted on    August-09-2013 6:38 AM

Hi Manoj!
try this.

<dxg:GridControl>

    <dxg:GridControl.Columns>

        <dxg:GridColumn FieldName="ID"/>

        <dxg:GridColumn FieldName="Name"/>

        <dxg:GridColumn FieldName="Age"/>

    </dxg:GridControl.Columns>

    <dxg:GridControl.View>

        <dxg:TableView AutoWidth="True"/>

    </dxg:GridControl.View>

</dxg:GridControl>

thanks


Modified On Aug-09-2013 06:39:20 AM

Don't want to miss updates? Please click the below button!

Follow MindStick