Custom DataTempate Header in columns section is not scrollable(Horizontally)

hi,

We have created Custom columns dynamically using DataTemplate but not able to scroll on Coulmn Header section(Horizontally), please find below code -

HeaderTemplate=SetheaderTemplate();

private DataTemplate SetheaderTemplate()
{
  return new DataTemplate(() =>
            {
  Label titleLabel=new Label();
  titleLabel.Text="XYZ";
                return titleLabel;
            });
}

1 Reply 1 reply marked as answer

SS Sivaraman Sivagurunathan Syncfusion Team July 3, 2020 08:57 AM UTC

Hi Rahul, 

Thanks for using Syncfusion controls. 

We have checked your reported issue for our side. But the issue does not reproduce from our side. if your requirement is scroll the SfDataGrid using header, it is not possible we to scroll the container. We have prepared the sample based on your requirement and attached for your reference. You can download the same form the below link. also refer the video link.  


Regards, 
Sivaraman S 


Marked as answer
Loader.
Up arrow icon