Hi,
I have refer to your documentation of
StackedHeaderRows sample, but i can't get this feature to work properly.
<sync:SfGrid>
...
<sync:SfDataGrid.StackedHeaderRows>
<sync:StackedHeaderRow>
<sync:StackedHeaderRow.StackedColumns>
<sync:StackedColumn ChildColumns="PatientID, PatientName" HeaderText="Employee Details"/>
</sync:StackedHeaderRow.StackedColumns>
</sync:StackedHeaderRow>
</sync:SfDataGrid.StackedHeaderRows>
<sync:SfDataGrid.Columns>
<sync:GridTextColumn HeaderText="Visit Date" MappingName="VisitDate" TextAlignment="Left" Width="100">
...
</sync:GridTextColumn>
<sync:GridTextColumn HeaderText="Patient ID" MappingName="PatientID" TextAlignment="Left" Width="100">
<sync:GridTextColumn.CellTemplate>
<DataTemplate>
<Border >
<TextBlock Padding="3,0,0,0" FontWeight="Regular" FontSize="13" Text="{Binding Path=ID}" VerticalAlignment="Center"/>
</Border>
</DataTemplate>
</sync:GridTextColumn.CellTemplate>
</sync:GridTextColumn>
<sync:GridTextColumn HeaderText="Patient Name" MappingName="PatientName" TextAlignment="Left" Width="100">
...
</sync:GridTextColumn>
<sync:GridTextColumn HeaderText="Diagnosis" MappingName="Diagnosis" TextAlignment="Left" Width="100">
...
</sync:GridTextColumn>
</sync:SfDataGrid.Columns>
</sync:SfGrid>
My final grid look so weird that it has a line in between 2 rows. Please see the attached image.
I have not try the GroupName option, but do i need to specify the StackedHeaderRows if i'm using the GroupName option?
Attachment:
Capture_3815dd8d.rar