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

SfDataPager does not display in full width

Thread ID:

Created:

Updated:

Platform:

Replies:

142317 Jan 28,2019 09:43 AM UTC Jan 31,2019 07:21 AM UTC Xamarin.Forms 5
loading
Tags: SfDataGrid
Binjan
Asked On January 28, 2019 09:43 AM UTC

Hello Sir,

I am using SfDataGrid with SfDataPager. I am using below code for SfDataPager


                <sfPager:SfDataPager x:Name="dpPropertyList" Grid.Row="1" Padding="0" Margin="0" ColumnSpacing="0" BackgroundColor="Gray"
                            PageSize="5" NumericButtonCount="2" Scale="0.5"
                            Source="{Binding xxx}">                   
                    <sfPager:SfDataPager.HeightRequest>
                        <OnPlatform x:TypeArguments="x:Double" iOS="50" Android="50" WinPhone="70"/>
                    </sfPager:SfDataPager.HeightRequest>
                </sfPager:SfDataPager>

It does not display in full width. Please find in attached Image. Do I have to set any property?
Please help.

Attachment: SfDataPager_aa1223af.rar

Subburaj Pandian Veluchamy [Syncfusion]
Replied On January 29, 2019 01:08 PM UTC

Hi Binjan, 
  
Thank you for contacting Syncfusion support. 
  
We have checked your query “DataPager is not layout to available width”, In the provided code you have defined DataPager Scale value as “0.5”. Hence datapager is not layout to entire grid column width. We have checked the SfDataPager (16.4.0.48) with Xamarin 3.3 version and we have prepared a sample with details you have provided. 
  
  
Please provide us the following details to replicate the numeric button clipping issue which is shared in screen shot. 
·       Are you defining column definition for the grid which has datapager. If so, please share the column definition value. 
·       Issue reproducing platform. 
  
If possible, can you please modify the attached sample to reproduce the issue from your side with device details, which will be helpful for us to validate the issue and provide you solution at earlier. 
  
Regards,
Subburaj Pandian V  


Binjan
Replied On January 30, 2019 04:35 AM UTC

Thanks for reply and sample source.

Please provide us the following details to replicate the numeric button clipping issue which is shared in screen shot. 
·       Are you defining column definition for the grid which has datapager. If so, please share the column definition value.
Grid column width is set to *
·       Issue reproducing platform.
     I have checked in VS2017 Emulator (Android_Accelerated_x86_Oreo).


Pradeep Kumar Balakrishnan [Syncfusion]
Replied On January 30, 2019 01:49 PM UTC

Hi Binjan, 
 
Thank you for your update. 
 
We have validated your query “DataPager is not layout to available width” In the mentioned emulator (Android_Accelerated_x86_Oreo). In that numeric button is layout to available space and the available space is not enough for numeric button hence it is clipped. 
 
In your application you have defined DataPager.Scale value as “0.5” hence you are seeing some space around the datapager. If you set defined DataPager Scale value as “1”(default value) you won’t see any space around the datapager. 
 
We have attached the screenshot which is taken in Android_Accelerated_x86_Oreo emulator with DataPager.Scale value as 0.5 and 1 (Default value). 
 
   
Regards, 
Pradeep Kumar B 


Binjan
Replied On January 31, 2019 07:13 AM UTC

thanks for reply

Subburaj Pandian Veluchamy [Syncfusion]
Replied On January 31, 2019 07:21 AM UTC

Hi Binjan, 
 
Thank you for the update. Please let us know, if you need any further assistance. 
 
Regards,
Subburaj Pandian V  


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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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

;