Hii, I used XamComboEditor.ItemTemplate as below. It working fine. but Header Column Repeating with each row. Can me help on that.? How to keep Column header without repeating.
<ig:XamComboEditor Name="cmbGrnTransType" > <ig:XamComboEditor.ItemTemplate > <DataTemplate > <Grid ToolTipService.ToolTip="Good Recieve Type" Width="Auto" VerticalAlignment="Stretch" > <Grid.ColumnDefinitions> <ColumnDefinition Width="0" /> <ColumnDefinition Width="200" /> <ColumnDefinition Width="300" /> </Grid.ColumnDefinitions> <Grid.RowDefinitions> <RowDefinition Height="20" /> <RowDefinition Height="20" /> <RowDefinition Height="20" /> </Grid.RowDefinitions> <TextBlock Text="Type ID" Margin=".5" Grid.Column="0" Visibility="Collapsed" Grid.Row="0" FontWeight="Bold" /> <TextBlock Text="Type " Margin=".5" Grid.Column="1" Grid.Row="0" FontWeight="Bold" /> <TextBlock Text="Description" Margin=".5" Grid.Column="2" Grid.Row="0" FontWeight="Bold" /> <TextBlock Text="{Binding Path=TypeID}" Margin="0" Grid.Column="0" Grid.Row="1" /> <TextBlock Text="{Binding Path=Type}" Margin="0" Grid.Column="1" Grid.Row="1" /> <TextBlock Text="{Binding Path=Description}" Margin="0" Grid.Column="2" Grid.Row="1" /> </Grid> </DataTemplate> </ig:XamComboEditor.ItemTemplate> </ig:XamComboEditor>
Out put Like this.
--- Chanuri
I was just working on a sample of this very thing for a blog post.
To do what you want you need to change the default style of the XamComboEditor control and put the headers there, inside of the Popup control, above the ItemsPanel.
Email me offlist and I can send you the sample I am working on for my post: devinr@infragistics.com
Devin