Question: What is the best way to build an Excel like layout?
See original GitHub issueHello!
I am finding a way to build an “Excel like” layout.
The key features of that scenario is:
- Left content should be vertically scrolled synchronously with a main content. At the same time it should not be scrolled horizontally (fixed columns in Excel)
- Top content should be horizontally scrolled but not vertically.
- The scroll bars can be anywhere.
For-example, the horizontal scrollbar on Excel`s screen bellow is not fit the whole width.
My first solution I tried was a grid with two panels for the Left and Top content, and a ScrollViewer with an ItemsRepeater for the main content. I invalidate the panel`s measure on ScrollViewer.ViewChanged event and perform the layout in each panels on measure pass according to the current RealizationRect. This approach looks like work, but now I need to change the position of the scrollbars.
To do this I am going to change the template of the ScrollViewer. But now I think, is there any best solution to do this? Am I going true way?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Guidelines for organizing and formatting data on a worksheet
Data organization guidelines · Put similar items in the same column Design the data so that all rows have similar items in the...
Read more >Excel templates: how to make and use
In the workbook that you want to become your default Excel template, click File > Save As. · In the Save as type...
Read more >Excel Tips & Tricks: Designing Better Spreadsheets - YouTube
Good spreadsheet design is essential if your Excel workbooks are going ... in Excel - How to protect an Excel workbook or worksheet...
Read more >14 Excel Formatting Tips (Make Excel BEAUTIFUL!) - YouTube
Here's a topic I've avoided for some time. That's because what looks ' good ' is a matter of opinion, right ? What...
Read more >How to create an elegant, fun & useful tracker with Excel
ExcelTracker #CreateTrackerSpreadsheet Do you want to create a cool, useful and simple tracker with Excel ? You can use Excel Tables, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@Sergio0694 added some ScrollViewer extensions in the last version of the Toolkit which I think may be helpful here?
@BorzillaR Here’s the sample from that GIF I posted, hope this helps! 😄
GridScrollerSample.zip