Hi,
I have a couple of outstanding question to get going with the xamDatagrid
1. There is a row indicator type column to the left of the first column. Can I hide/remove this column ?
2. How do I center the content of a cell ? have worked out how to do this for the header label but not for the actual tect in a cell
Help would be appreciated
Niclas
Managed to work this out myself.
Just realise that the term selected might be a bit confusing.. I mean how to I apply it to only columns I chose to apply it to rather than all columns
If I add
<igDP:XamDataGrid.Resources> <Style TargetType="{x:Type igDP:CellValuePresenter}"> <Setter Property="HorizontalContentAlignment" Value="Center" /> </Style></igDP:XamDataGrid.Resources>
to my grid, this centers the content of all my columns. How do I apply this setting to selected columns only ?
Regards
Hi nlindblo,
In relation to your first question - "Can I hide/remove this column ?" I could suppose that you want to know how to hide(remove) the record selector.As I have already answered to this question I would advise you to take a look at my answer.<http://news.infragistics.com/forums/t/16500.aspx>
In relation to your second question - "How do I center the content of a cell ?" I would recommend theJosh Smith's answer to this question . <http://news.infragistics.com/forums/t/13669.aspx>
Best Regards,Yanko