1
Views
1
Comments
List Box with several columns
Question
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
2020-09-14 17-53-31
Gonçalo Gaiolas
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.

Regards,
Gonçalo
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.