List Box with several columns

List Box with several columns

Is it possible to create a List Box with several columns and column headers like name, age, etc, without using a RecordTable Widget?

Best Regards,

Pedro Oliveira
Hi Pedro,

If I understand correctly your question, the direct answer is no. HTML does not offer native support to such a construct (a ListBox with headers).

However, after searching around for a bit I found two possible workarounds, both described here :

- The first involves spacing the output string so that it simulates the formatting you want.

- The second, more robust, uses a scrollable table to simulate your desired effect. You can use a ListRecords widget for this purpose, just using some different CSS classes (provided in the refered location).

Please let me know if any of this suggestions helped you, or if I can be of further assistance.