Nov 21, 2022, 9:39 PM
[CLOSED] Button Display Issue - TreePanel Buttons within a DropDownField used as a Grid Editor
Hi,
I think we have come across a css issue with the classic theme but want to post here to verify.
When using buttons in a treepanel within a dropdownfield, we are seeing background grid text in the area around the buttons for classic...
...where using a theme like triton seems to handle this case.
If this is an issue is there a best way to remedy this?
The basic layout for reference:
I think we have come across a css issue with the classic theme but want to post here to verify.
When using buttons in a treepanel within a dropdownfield, we are seeing background grid text in the area around the buttons for classic...
...where using a theme like triton seems to handle this case.
If this is an issue is there a best way to remedy this?
The basic layout for reference:
<ext:Column runat="server" Text="Column Editor" DataIndex="ourdata" Width="300">
<Editor>
<ext:DropDownField ID="dd1" runat="server" Editable="false" Width="400" MaxHeight="300" Scrollable="Both">
<Component>
<ext:TreePanel
ID="tree1"
runat="server"
Title="Replacements"
Height="300"
UseArrows="true" AutoScroll="true" Animate="true" ContainerScroll="true" RootVisible="false">
<Root>
<ext:Node NodeID="-1" Text="testnode" />
</Root>
<Buttons>
<ext:Button ID="ButtonReplaceAll" runat="server" Text="Replace Always" Icon="Connect">
<Listeners>
<Click Handler="#{DirectMethods}.DoStuff(1); #{dd1}.collapse();" />
</Listeners>
</ext:Button>
<ext:Button ID="ButtonReplaceSingle" runat="server" Text="Replace" Icon="Accept">
<Listeners>
<Click Handler="#{DirectMethods}.DoStuff(0); #{dd1}.collapse();" />
</Listeners>
</ext:Button>
</Buttons>
<Listeners>
<Show Handler="dosomething(#{tree1});" />
</Listeners>
<Tools>
<ext:Tool Type="Refresh" Handler="domorestuff(#{tree1});" />
</Tools>
</ext:TreePanel>
</Component>
</ext:DropDownField>
</Editor>
</ext:Column>
Last edited by fabricio.murta; Nov 22, 2022 at 4:34 PM.