i have binded itemsource to Datatable for Datagrid . it shows extra columns how to remove it
My code :
You can set the HorizontalAlignment to Left. As described here
For example:
<DataGrid ItemsSource="{Binding}" HorizontalAlignment="Left"/>