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

DataGrid can not be showed on web platform #410

Closed
1 task done
ismlsmile opened this issue Oct 25, 2024 · 3 comments
Closed
1 task done

DataGrid can not be showed on web platform #410

ismlsmile opened this issue Oct 25, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ismlsmile
Copy link

Usage Information

3.7.4/11.1.4/Windows-Web

Description

DataGrid can not be shown on web platform, but can be shown on desktop.
DataGridSample.zip

Reproduction Steps

see the demo project

Expected Behavior

work ok on web platform

Actual Behavior

do not show

Regression?

No response

Known Workarounds

No response

Anything else?

No response

Could you help with a pull-request?

No

Is there an existing issue for this?

  • I have searched the existing issues
@ismlsmile ismlsmile added the bug Something isn't working label Oct 25, 2024
@SKProCH
Copy link
Collaborator

SKProCH commented Oct 25, 2024

Probably some bug with autoimporting styles or trimming.

Workaround is manually include DataGrid styles in app.axaml:

<Application ...
  xmlns:dataGrid="clr-namespace:Material.Avalonia.DataGrid;assembly=Material.Avalonia.DataGrid"
  ...

  <Application.Styles>
    ...
    <dataGrid:MaterialDataGridStyles/>

@ismlsmile
Copy link
Author

it is ok, thanks

@SKProCH
Copy link
Collaborator

SKProCH commented Nov 4, 2024

Since currently there is no proper way to debug this, I've added info about to DataGrid wiki page: https://github.com/AvaloniaCommunity/Material.Avalonia/wiki/DataGrid

@SKProCH SKProCH closed this as completed Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants