Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
treecolsstyle を に設定してtreeview、XULに隠れようとしていdisplay: noneます。ただし、ツリービュー行のラベルも消えます。行を表示したままツリーコルを非表示にするにはどうすればよいですか?
treecols
treeview
display: none
要素の列ヘッダーを非表示にするつもりだと思いますtree。このtree要素は個々の列の非表示をサポートしているためdisplay: none、列ヘッダーでスタイルを使用すると、列全体が非表示になります。代わりheight: 0px; overflow: hidden;に、要素にスタイルを使用する必要がありますtreecols。技術的に言えば、非表示にはなりませんが、画面にも表示されません。
tree
height: 0px; overflow: hidden;