2

A XUL list with resizeable columns

 2 years ago
source link: http://schlueters.de/blog/archives/39-A-XUL-list-with-resizeable-columns.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
A XUL list with resizeable columnsJohannes Schlüter
This post is archived and probably outdated.

A XUL list with resizeable columns

2007-06-27 02:23:46

Recently I improved my XUL and JavaScript skills and wrote a small XUL application. To browse some data from a database. While at it I tried to create a list with resizable columns. While trying to get some help one of the suggestions was not to use a tree instead of a listbox to show a list. But well, that didn't solve the issue, the next important thing is to add a splitter betwwen the column headers, but well that alone would be too easy: You also have to set the CSS class to tree-splitter... So that's what such a tree looks like:

Thanks to Arne and Uwe for answering my stupid questions :-)

Copyright © Johannes Schlüter


Recommend

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK