-
I have tried to paste the razor code from multiple samples on the website and i tried to remove some of the code too so that it could maybe work on a fresh template and nothing seems to work. i installed BootstrapBlazor.DockView but trying to do i got v1 to load with the following code, which is great, but i wanted V2: <DockView Name="DockViewColumn">
<DockContent Type="DockContentType.Column">
<DockComponent Title="left dock" ShowClose="false">
<div>
left dock
</div>
</DockComponent>
<DockComponent Title="right dock" ShowClose="false">
<div>
right dock
</div>
</DockComponent>
</DockContent>
</DockView> |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
@celadaris Thank you for reporting. We will give triage later. |
Beta Was this translation helpful? Give feedback.
-
ive tried pasting alot of different examples, but... here is a sample of something i tried to run: <DockViewV2 Name="DockViewV2LayoutGroup" class="dockview-demo">
<DockViewContent Type="DockViewContentType.Row">
<DockViewContent Type="DockViewContentType.Group">
<DockViewComponent Key="tab1" Title="Headers1">
<Table TableSize="TableSize.Normal" RenderMode="@TableRenderMode.Table" TItem="MarginalElement" Items="@allSearches" HeaderStyle="TableHeaderStyle.Dark" IsBordered="true" IsTree="true" IsFixedHeader="true">
<TableColumns>
<TableColumn @bind-Field="@context.Name" />
<TableColumn @bind-Field="@context.HTMLValidated">
<Template Context="value">
<Checkbox Value="@value.Value" IsDisabled="true"></Checkbox>
</Template>
</TableColumn>
</TableColumns>
</Table>
</DockViewComponent>
<DockViewComponent Key="tab2" Title="Footers2">
<Table TableSize="TableSize.Normal" RenderMode="@TableRenderMode.Table" TItem="MarginalElement" Items="@allSearches" HeaderStyle="TableHeaderStyle.Dark" IsBordered="true" IsTree="true" IsFixedHeader="true">
<TableColumns>
<TableColumn @bind-Field="@context.Name" />
<TableColumn @bind-Field="@context.HTMLValidated">
<Template Context="value">
<Checkbox Value="@value.Value" IsDisabled="true"></Checkbox>
</Template>
</TableColumn>
</TableColumns>
</Table>
</DockViewComponent>
</DockViewContent>
</DockViewContent>
</DockViewV2> |
Beta Was this translation helpful? Give feedback.
-
@celadaris could you provider a mini-repro-project? |
Beta Was this translation helpful? Give feedback.
-
This project was made from the This project has In the Pages folder I have a SimpleTableTest.razor page. I used this to help me figure out how to create In the Pages folder I have a DockTest.razor page. This has commented code pasted from here to see if I could get DockViewV2 to work. I also added a code-behind to both the DockTest.razor page and the SimpleTableTest.razor page in order to create |
Beta Was this translation helpful? Give feedback.
@celadaris hi. I get the point.
Tips
Table
insideDockViewComponent
for make clear ofDockView
DockView
container causetabs-body
does not heightDockRepro.zip