views:

96

answers:

1

hi,

how to remove the extra column that comes default in datagrid silverlight 4.0

is there any good links to designing(css) data grid in silverlight 4.0

thanks in advance. prince

+1  A: 

To take total control over what columns are rendered in a Silverlight DataGrid, you need to define your own 'Columns' collection. For example:

<sdk:DataGrid AutoGenerateColumns="False" ...>
    <sdk:DataGrid.Columns>
        <sdk:DataGridTextColumn x:Name="firstColumn".... />
        ....
    </sdk:DataGrid.Columns>
</sdk:DataGrid>

Hope that helps

Tim Cochran