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

Column Header is not created when column is created runtime #70

Closed
enkaradag opened this issue Feb 6, 2023 · 1 comment · Fixed by #71
Closed

Column Header is not created when column is created runtime #70

enkaradag opened this issue Feb 6, 2023 · 1 comment · Fixed by #71

Comments

@enkaradag
Copy link

Describe the bug
Column Header is not created when column is created runtime such as:

`        DataGridColumn col = new DataGridColumn() {
             Title = "Data Column1",
             PropertyName = "DATACOL1",
             Width = 200,
             HorizontalContentAlignment = LayoutOptions.Start
             };
        grd.Columns.Add(col);
`

To Reproduce
DataGrid grd=new DataGrid(); DataGridColumn col = new DataGridColumn() { Title = "Data Column1", PropertyName = "DATACOL1", Width = 200, HorizontalContentAlignment = LayoutOptions.Start };

Expected behavior
Header should be created with column outside xaml.

Desktop (please complete the following information):

  • OS: Maui Windows,Android
  • .net 7

Additional context
Also changing Column Width doesn't change Header Width

Regards
Ender

@symbiogenesis
Copy link
Collaborator

Good call. Feature merged.

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

Successfully merging a pull request may close this issue.

2 participants