Hi,
Version 2.14.1
I want to display 2 or 3 panes in a splitter.
With the code below middle pane is on the right.
What is the best way to keep pane order ?
Remi
@page
"/"
<div style=
"width: 500px; height: 300px; border: 1px solid red;"
>
<TelerikSplitter @
ref
=
"ts"
Width=
"100%"
Height=
"100%"
Orientation=
"@SplitterOrientation.Horizontal"
>
<SplitterPanes>
<SplitterPane Size=
"20%"
Collapsible=
"true"
>
<div>left</div>
</SplitterPane>
@
if
(bunique)
{
<SplitterPane Size=
"10%"
Collapsible=
"true"
>
<div>middle</div>
</SplitterPane>
}
<SplitterPane>
<div>right</div>
</SplitterPane>
</SplitterPanes>
</TelerikSplitter>
</div>
@code{
bool
bunique =
false
;
Telerik.Blazor.Components.TelerikSplitter ts;
protected
override
void
OnAfterRender(
bool
firstRender)
{
if
(firstRender)
{
if
(!bunique)
{
bunique =
true
;
StateHasChanged();
}
}
}
}