Comments (3)
Some more info. In the design viewer, the TreeDataGrid shows the treedatagrid's vertical scroll bars in the viewable collapsed state and allows mouse thumb scrolling but when I run the app in debug mode in VS2022 the scrollbars are not present. I'm running everything at the current version levels including the TreeDataGrid package from Nuget which is after the latest theme changes to bases styled controls on a generic base theme.
from avalonia.controls.treedatagrid.
More information. In VS2022 the scrollbars show up and work in the axaml designer window of the individual views but when those views are installed in a TabControl's TabItem content in MainWindow, the views scroll bars don't show up.
The control axaml setup in the MainWindow view is as follows.
<StackPanel>
<Border BorderBrush="Black"
BorderThickness="1"
Background="AliceBlue">
<TextBlock Text="{Binding Greeting}"
FontWeight="Bold"
HorizontalAlignment="Center"/>
</Border>
<TabControl>
<TabItem Header="Countries">
<v:CountriesPageView/>
</TabItem>
<TabItem Header="Files">
<v:FilesPageView/>
</TabItem>
<TabItem Header="DragDrop">
<v:DragDropPageView/>
</TabItem>
<TabItem Header="Wikipedia">
<v:WikipediaPageView/>
</TabItem>
</TabControl>
</StackPanel>
from avalonia.controls.treedatagrid.
Well, I think I found the interference problem. In the current Avalonia UI, the scroll bars of a TreeDataGrid control will be suppressed if the control is a control inside of a stack panel, apparently at any nested level. NFC as how or why that occurs or if it's an inherent UI design constraint related to Stack Panels. (NFC is short for No F***ing Clue) For this reason, I'm switching my demo over to using a Dock on the main window with a top dock to handle the header and the tabbed views below that.
from avalonia.controls.treedatagrid.
Related Issues (20)
- Setting MinWidth and using Auto columns breaks layout when scrolling HOT 9
- [Bug] Scrolling a control with variable row height causes visual clatter.
- [Bug] Cannot deselect row when SingleSelect is enabled
- Downloading fresh zip of Avalonia.Controls.TreeDataGrid current as of 2024-02-20, compile has build errors in the test components. HOT 2
- Row Focus Order Does Not Match Visible Order HOT 1
- TreeDataGridDemo, GitHub snapshot to ReactiveUI to CommunityToolKit.Mvvm in proper MVVM form HOT 2
- TreeDataGridPresenterBase Replace Regression
- [Question] How to end cell editing when clicking outside TreeDataGrid control?
- How can you sort a TreeDataGrid by column programatically?
- Missing text in column headers when changing TreeDataGrid from read-only to edit mode HOT 1
- The items are not sorted after setting column SortDirection, despite the column header shows arrow. HOT 1
- How to implement double-click on Row or Cell selection to display detailed view.
- Add `StringFormat` to `TextColumn<TModel,TValue>` options HOT 1
- CanUserResizeColumn and Sort Arrow Spacing
- HierarchicalExpanderColumn is truncated when scrolling up/down if template is complicated HOT 1
- Page Up/Down Selection Glitches HOT 1
- [Feature] Allow remove `Columns` from `Source` HOT 1
- Consider making `TreeDataGrid` more extensible. HOT 2
- [Question] New Release? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avalonia.controls.treedatagrid.