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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

DataGrid Not scrolling

Thread ID:

Created:

Updated:

Platform:

Replies:

131974 Aug 6,2017 07:21 PM UTC Oct 17,2017 09:28 AM UTC Xamarin.Forms 3
loading
Tags: SfDataGrid
Joel Chinchilla
Asked On August 6, 2017 07:21 PM UTC

Hi, I'm trying to use a SfDataGrid inside a vertical stacklayout on Android. However I can't scroll the datagrid. The datasource can change dynamically some times, but I'm stuck trying to figure out what I can't scroll the grid.I already set the grid and the parent VerticalOptions to be FillAndExpand.Any idea? 

Vimal Prabhu Manohkaran [Syncfusion]
Replied On August 7, 2017 06:55 AM UTC

Hi Joel,

Thanks for contacting Syncfusion support. We have  checked with your query and have prepared a sample based on your requirements where we have loaded the SfDataGrid inside a vertical StackLayout and are changing the ItemsSource(DataSource) and the row count in runtime via a button click and the SfDataGrid scrolling is working fine as expected. Please refer the sample from the below link to check if you had missed out anything and resolve your issue.
 
If your issue persists, please revert us with a working sample replicating the issue so that we can help you better.

Regards,
Vimal Prabhu
 


Balakrishnan
Replied On October 16, 2017 09:45 PM UTC

Hi, I'm trying to use a SfDataGrid inside a vertical stacklayout on Android. However I can't scroll the datagrid. The datasource can change dynamically some times, but I'm stuck trying to figure out what I can't scroll the grid.I already set the grid and the parent VerticalOptions to be FillAndExpand.Any idea? 

I am also facing the same issue, I implemented the Data grid Scrolling is not working in Android alone. (sfDataGrid version15.3.0.33)


<StackLayout x:Name="myStack">
           <sfgrid:SfDataGrid x:Name="dataGrid"   
                            AutoGenerateColumns="True"
                            ColumnSizer="Star"
                           HeaderRowHeight="52"
                           RowHeight="48"
                           SelectionMode="Single" 
            ItemsSource="{Binding NutritionHistory}">
           
            
            <sfgrid:SfDataGrid.Columns >
                <sfgrid:GridImageColumn MappingName="IconImage" />
                <sfgrid:GridTextColumn MappingName="ItemCount"  />
                <sfgrid:GridImageColumn MappingName="StatusImage" />
            </sfgrid:SfDataGrid.Columns>
        </sfgrid:SfDataGrid>
            </StackLayout>
  


Ashok N [Syncfusion]
Replied On October 17, 2017 09:28 AM UTC

Hi Balakrishnan, 
 
Thanks for contacting Syncfusion support. 
 
Horizontal Scrolling: 
 
We have checked your code snippet and you are using SfDataGrid.ColumnSizer is Star.  Star column sizer adjusted all the GridColumns are an equal column width to fit within the view and it will be disable the HorizontalScrolling in SfDataGrid. If you want HorizontalScrolling in SfDataGrid, please set ColumnSizer other than Star.  Please refer the below UG link to get more details about ColumnSizer: 
 
 
Vertical Scrolling: 
 
We have  checked our previously provided sample (on August 7, 2017 by Vimal) and Vertical scrolling will be working properly, after loaded the SfDataGrid and changing the records dynamically. If you are facing Vertical Scrolling issue, please do revert us by modifying our sample to replicate the issue or share your sample along with replication procedure, that would be more helpful for us to proceed further.   
 
Regards, 
Ashok 


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

;