Skip to content

Instantly share code, notes, and snippets.

View cleidigh's full-sized avatar

Christopher Leidigh cleidigh

  • Providence, Rhode Island
View GitHub Profile
@cleidigh
cleidigh / richlistbox-tree.xul
Last active October 4, 2019 03:34
Example comparison of richlistbox versus tree
<!-- 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>