Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scroll isn't working in DataGrid #445

Open
pmchndev opened this issue Sep 20, 2023 · 11 comments
Open

Scroll isn't working in DataGrid #445

pmchndev opened this issue Sep 20, 2023 · 11 comments
Assignees
Labels
Milestone

Comments

@pmchndev
Copy link

pmchndev commented Sep 20, 2023

I populate the datagrid but when it has many register I can't down to see all register. Look like as static page. I have version 2.5.5. I tested in Android platform

Image

@enisn
Copy link
Owner

enisn commented Sep 26, 2023

Might be the same problem with here #63 ?

@enisn
Copy link
Owner

enisn commented Sep 26, 2023

DataGrid doesn't have a scroll by default, you can place it inside a ScrollView when required

@enisn enisn added control-datagrid question❔ Further information is requested labels Sep 26, 2023
@pmchndev
Copy link
Author

DataGrid doesn't have a scroll by default, you can place it inside a ScrollView when required

I have the grid in a scrollview and it worked until I got some visual studio updates, but I don't know which update it stop working

image

@enisn
Copy link
Owner

enisn commented Sep 27, 2023

I'll publish .NET8 compatibility update in this week

@YBTopaz8
Copy link

YBTopaz8 commented Nov 4, 2023

Hi, sorry to chime in.
I can confirm that scrolling doesn't working on DataGrid, sadly, i tried putting inside a ScrollView, no avail.
I even set VerticalOptions to Fill and even FillAndExpand, but it won't work (this usually works for collection views).
Hopefully a future update helps out 😃

@enisn
Copy link
Owner

enisn commented Nov 5, 2023

I reproduced it in .NET 8 again. If you consider publishing to production, I suggest using stable .NET 7 (v2.5.3) version for now. I'll try to figure out and solve this problem in the v2.6 stable version

@enisn enisn added bug-verified A bug that can be reproduced and removed question❔ Further information is requested labels Nov 5, 2023
@enisn enisn added this to the 2.6 milestone Nov 5, 2023
@enisn enisn self-assigned this Nov 5, 2023
@BinaryAssault
Copy link
Contributor

I happen to test this today with 2.7.3 and I have no issues. Putting it outside a scrollview fills the screen and scroll is functional. Putting it inside a scrollview allows me to set the max height of the scrollview and scrolling still works.

The only potential difference I have is that I am using a Uranium Content Page

@enisn
Copy link
Owner

enisn commented Dec 8, 2023

I happen to test this today with 2.7.3 and I have no issues. Putting it outside a scrollview fills the screen and scroll is functional. Putting it inside a scrollview allows me to set the max height of the scrollview and scrolling still works.

The only potential difference I have is that I am using a Uranium Content Page

Probably it's solved with .NET8 stable release. I haven't tested yet stable release but the problem was there in RC.1 release

@enisn enisn modified the milestones: 2.6, Backlog Dec 12, 2023
@lkomanetz
Copy link

With scrolling on the DataGrid control, should it be scrolling just the content and leaving the header in place? Wrapping it in a ScrollView works for me but I was hoping that you could scroll through just the content. Is that something not currently supported?

@jblank771
Copy link

I second that. There should be a possibility to scroll only the data contents, but not the header.

@enisn enisn modified the milestones: Backlog, v2.9 May 28, 2024
@enisn
Copy link
Owner

enisn commented May 28, 2024

I second that. There should be a possibility to scroll only the data contents, but not the header.

That might be a good feature. Currently I'm working on Paginator (#669 ) feature, and I'll add sorting feature to the Header. I can implement this logic next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants