Hi omigis,
Thanks for contacting Syncfusion Support.
We have analyzed your query and we can able to achieve your requirement
by using the following code snippet.
Code Snippet: [C#]
private void
Button_Click(object sender, RoutedEventArgs e)
{
GridDataStackedHeaderRow
row = new GridDataStackedHeaderRow();
row.Name = "Row3";
GridDataStackedHeaderColumn
column = new GridDataStackedHeaderColumn();
column.HeaderText = "Stacked Header";
column.ColumnSpan = 6;
row.Columns.Add(column);
this.SyncGrid.StackedHeaderRows.Add(row);
this.SyncGrid.Model.View.Refresh();
}
|
We have prepared the sample based on your requirement and
please find the attached sample.
Please let us know if this solution helps you.
Thanks,
Shakul
Hameed
StackedHeaderRunTime_19bdf309.zip