question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DataGrid Horizontal Scrolling Bug (?)

See original GitHub issue

Looks like a minor bug: I have a DataGrid with many columns. So i need to horizontally scroll to see all data. While scrolling i get in the output window :

System.Windows.Data Error: 5 : Value produced by BindingExpression is not valid for target property. Double:'-0.028838485341793785' BindingExpression:Path=CellsPanelHorizontalOffset; DataItem='DataGrid' (Name=''); target element is 'Button' (Name=''); target property is 'Width' (type 'Double')

Also the scrolling is not smooth as expected.

The problem looks to be on “AllGeometry” Button (DataGrid.xaml). Changing the binding on Width property to let’s say “50”, works as expected.

Thanks.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
NaBiancommented, Dec 15, 2019

remove this: test

0reactions
metheofaniscommented, Dec 19, 2019

Working! Thanks a lot.👍

Read more comments on GitHub >

github_iconTop Results From Across the Web

MUI Data Grid horizontal scrolling (responsiveness) is not ...
I don't want to switch to another library and just need to fix this horizontal scrolling problem. In the docs, it works perfectly....
Read more >
[DataGrid] horizontal scrolling doesn't work over column ...
Two things we can do to solve the pain points of this issue: When scrolling on the columns header, call preventDefault to prevent...
Read more >
WPF DataGrid with 1 frozen column - horizontal scroll ...
I have a few rows and 10 columns, Col00 thru Col09. Col00 is frozen. A click in the area shown in the image...
Read more >
The horizontal scroll bar is not responding correctly when ...
Issue : in windows, the scroll is not reacting correctly when grid container is resized. Steps: 1. open zip file and run scroll.html...
Read more >
RadDataGrid horizontal scrolling issue in UI for Xamarin
Try horizontal scrolling on white space in RadDataGrid. Scrollbar won't appear and scrolling won't be possible. If you set RadDataGrids ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found