Last active
October 4, 2019 03:34
-
-
Save cleidigh/4db62350b3b70fdbed799800bb17afc4 to your computer and use it in GitHub Desktop.
Example comparison of richlistbox versus tree
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- richlistbox with header --> | |
<richlistbox id="ThunderStats.NoBusinessDaysList" flex="1" height="100px" onselect="miczThunderStatsPrefPanel.updateNBDButtons(window);" seltype="single" > | |
<listheader style="border-bottom: 1px solid blue;"> | |
<treecol label="Date" width="85px" flex="0" /> | |
<treecol label="Description" flex="1" style="background-color: #505050 !important; color: red;"/> | |
<treecol label="Yearly" width="70px" flex="0" /> | |
</listheader> | |
<richlistitem> | |
<label width="85px" flex="0">10-31</label> | |
<label flex="1">Halloween</label> | |
<label width="70px" flex="0">True</label> | |
</richlistitem> | |
<richlistitem> | |
<label width="85px" flex="0">5-10</label> | |
<label flex="1">Greek Easter lamb roast</label> | |
<label width="70px" flex="0">False</label> | |
</richlistitem> | |
<richlistitem> | |
<label width="85px" flex="0">5-11</label> | |
<label flex="1">Greek Easter lamb roast yummy</label> | |
<label width="70px" flex="0">False</label> | |
</richlistitem> | |
</richlistbox> | |
<!-- simple tree --> | |
<tree id="ThunderStats.NoBusinessDaysList2" flex="1" height="80px" onselect="miczThunderStatsPrefPanel.updateNBDButtons(window);" seltype="single" hidecolumnpicker="true"> | |
<treecols> | |
<treecol label="Date" width="85px" flex="0" /> | |
<splitter class="tree-splitter" /> | |
<treecol label="Description" flex="1" style="color: red;"/> | |
<splitter class="tree-splitter" /> | |
<treecol label="Yearly" width="70px" flex="0" /> | |
</treecols> | |
<treechildren> | |
<treeitem> | |
<treerow> | |
<treecell label="12-25"/> | |
<treecell label="Christmas"/> | |
<treecell label="True"/> | |
</treerow> | |
</treeitem> | |
<treeitem> | |
<treerow> | |
<treecell label="05-20"/> | |
<treecell label="Greek Easter - glamorous day"/> | |
<treecell label="True"/> | |
</treerow> | |
</treeitem> | |
</treechildren> | |
</tree> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment