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. (Last updated on : November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

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

Thread ID:

Created:

Updated:

Platform:

Replies:

128248 Jan 10,2017 08:17 PM UTC Jan 12,2017 04:24 AM UTC Xamarin.iOS 3
loading
Tags: SfDataGrid
Renato Wong
Asked On January 10, 2017 08:17 PM UTC

Hello,

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 01:13 PM UTC

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() 
{ 
    base.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. 
 
Regards, 
Divakar. 
 


Renato Wong
Replied On January 11, 2017 04:50 PM UTC

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

Divakar Subramaniam [Syncfusion]
Replied On January 12, 2017 04:24 AM UTC

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


CONFIRMATION

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.

Warning Icon 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.Close Icon

;