HOW TO REMOVE THE EXTRA COLUMN IN DEVEXPRESS GRIDCONTROL USING WPF?

Manoj Bhatt

Total Post:154

Points:1086
Posted by  Manoj Bhatt
WPF 
WPF
 3019  View(s)
Ratings:
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.

  1. shreesh chandra shukla

    Post:105

    Points:735
    Re:How to remove the extra column in DevExpress GridControl using wpf?

    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

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!