-
Notifications
You must be signed in to change notification settings - Fork 461
Closed
Labels
needs: repro code or repositoryThe provided description or code is insufficient to repro the issueThe provided description or code is insufficient to repro the issue
Description
Open an IDialogContentComponent derived component with a DataGrid inside in a modal dialog, via DialogService.ShowDialogAsync(), like this:
<FluentDataGrid Items="@Content.ElementDescs.AsQueryable()"
ResizableColumns="true" ResizeColumnOnAllRows="false" AutoFit="true"
SelectionMode="DataGridSelectMode.Single"
@bind-SelectedItems="@SelectedItems"
Style="width: 100%; height: 600px; overflow: auto;">
<PropertyColumn Property="@(e => e.SectionName)" Title="@ERes.STR("EDG_SECT")" Sortable="true" />
As you can see from the image:
- ResizeColumnOnAllRows is ignored
- AutoFit is ignored
- Selection is not working
In other projects these flags are ok when the DataGrid is in the main layout (no popup).
Metadata
Metadata
Assignees
Labels
needs: repro code or repositoryThe provided description or code is insufficient to repro the issueThe provided description or code is insufficient to repro the issue