title: DevExpress grids how to turn off sorting of columns
body: <p><strong>strong text</strong>    I have grids showing to user and want to not allow sorting per column because I have added in totals
      where do I do this?</p>
  
  <pre><code>          xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
               mc:Ignorable="d"
                  xmlns:devx="http://schemas.devexpress.com/winfx/2008/xaml/grid"&gt;
  //* * * * * * * *
  </code></pre>
  
  <p>•Your post does not have much context to explain the code sections; please explain your scenario more clearly.</p>
  
  <pre><code>    &lt;Grid x:Name="LayoutRoot" &gt;
          &lt;Border BorderThickness="2" BorderBrush="AliceBlue" Margin="10" &gt;
              &lt;StackPanel  &gt;
                  &lt;Grid Background="AliceBlue" Height="30" &gt;
                      &lt;TextBlock VerticalAlignment="Center" FontWeight="Bold" Margin="5" Text="Upload File"&gt;
                      &lt;/TextBlock&gt;
                  &lt;/Grid&gt;
                  &lt;Grid&gt;
  //* * * * * * * *
  
                      &lt;Grid.RowDefinitions&gt;
                          &lt;RowDefinition &gt;&lt;/RowDefinition&gt;
                          &lt;RowDefinition Height="800"&gt;&lt;/RowDefinition&gt;
                      &lt;/Grid.RowDefinitions&gt;
                      &lt;Grid.ColumnDefinitions&gt;
                          &lt;ColumnDefinition&gt;&lt;/ColumnDefinition&gt;
                      &lt;/Grid.ColumnDefinitions&gt;
                      &lt;StackPanel Grid.Row="0" Orientation="Horizontal" Margin="5"&gt;
                          &lt;Button Content="Upload File" Margin="0" Width="70" Height="35" Command="{Binding CmdUploadFile}" IsEnabled="{Binding IsEnableUploadFile, Mode=TwoWay}" &gt;&lt;/Button&gt;
                          &lt;Button Content="Export" Margin="2,0,0,0" Width="70" x:Name="btnExport" Click="btnExport_Click"&gt;&lt;/Button&gt;
                      &lt;/StackPanel&gt;
  //* * * * * * * *
  
                      &lt;devx:GridControl 
                          Grid.Row="1"  x:Name="dgTest" 
                          ShowLoadingPanel="{Binding Path=IsLoading, Mode=TwoWay}"
                          ItemsSource="{Binding Path=LstData, Mode=TwoWay}" 
                          AutoPopulateColumns="False"
                          HorizontalAlignment="Stretch" 
                          VerticalAlignment="Stretch" 
                          AllowColumnMRUFilterList="False" 
                          IsFilterEnabled="False"&gt;
  //* * * * * * * *
  
  
                          &lt;devx:GridControl.Columns&gt;
                              &lt;devx:GridColumn Header="Fac ID"           FieldName= "FacID"          ReadOnly="True" Width="100" &gt;&lt;/devx:GridColumn&gt;
                              &lt;devx:GridColumn Header="Patient ID"       FieldName= "PatID"          ReadOnly="True" Width="100" &gt;&lt;/devx:GridColumn&gt;
                              &lt;devx:GridColumn Header="Patient"          FieldName= "Patient"        ReadOnly="True" Width="200" &gt;&lt;/devx:GridColumn&gt;
                              &lt;devx:GridColumn Header="Price Cd"         FieldName= "PriceCd"        ReadOnly="True" Width="100" &gt;&lt;/devx:GridColumn&gt;
                              &lt;devx:GridColumn Header="Invoice Group"    FieldName= "InvoiceGrp"     ReadOnly="True" Width="100" &gt;&lt;/devx:GridColumn&gt;
                                                    &lt;/devx:GridControl.Columns&gt;
  //* * * * * * * *
  
                          &lt;devx:GridControl.View&gt;
                              &lt;devx:TableView&gt;&lt;/devx:TableView&gt;
                          &lt;/devx:GridControl.View&gt;
                      &lt;/devx:GridControl&gt;
  //* * * * * * * *
  
                         &lt;/Grid&gt;
                             &lt;/StackPanel&gt;
                                    &lt;/Border&gt;
                                                 &lt;/Grid&gt;
  
  //* * * * * * * *
  
  
                          &lt;/UserControl&gt;
  </code></pre>