We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

The Header Row of the DataGrid is behind the View's Title Bar

Thread ID:





128248 Jan 10,2017 03:17 PM Jan 11,2017 11:24 PM Xamarin.iOS 3
Tags: SfDataGrid
Renato Wong
Asked On January 10, 2017 03:17 PM


I am using the DataGrid control and when I debug the application the Header Row is not visible because is behind of the View's Title Bar.

Image of the issue: DataGrid
Image's Link: https://postimg.org/image/pcqfz58up/

thank you!!

Divakar Subramaniam [Syncfusion]
Replied On January 11, 2017 08:13 AM

Hi Renato, 
Thanks for contacting Syncfusion Support. 
We have checked your query. If you add the title view and layout the SfDataGrid from top(dataGrid.Frame.Y = 0) in your controller, then the reported issue will occur. However, you can overcome this issue by layout the SfDataGrid after the title view is placed in the viewcontroller. Please refer the below code snippet for better understand. 
// In MyViewController.cs 
public override void ViewDidLayoutSubviews() 
    dataGrid.Frame = new CGRect(0,60,this.View.Frame.Width,this.View.Frame.Height); 
In the above case, we have set the SfDataGrid’s Y position as 60 in order to SfDataGrid layout after the title view. You can modify the Y value based on your requirement. 
We have attached a simple sample for your reference and you can download the same from the below link. 

Renato Wong
Replied On January 11, 2017 11:50 AM

That was it, thank you very much for the response.

Divakar Subramaniam [Syncfusion]
Replied On January 11, 2017 11:24 PM

Hi Renato, 
Thanks for the update. Please let us know if you need any other assistance from us. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.