I’m using the WebDataSource interface to provide data to a WebListbox. It’s mostly working well but I’m having a problem setting the column widths in the ColumnData interface method.
The documentation doesn’t explain whether the width parameter in the WebListBoxColumnData object is the number of pixels or a percentage (and actually refers to Width as a String property at the top of the doc when it’s an Integer): WebListBoxColumnData — Xojo documentation
My first two columns are the same width even though I’m specifying different numbers. Any tips?
Private Function ColumnData() As WebListboxColumnData()
// Part of the WebDataSource interface.Var result() As WebListBoxColumnData
result.Add(New WebListBoxColumnData(“Date”, “Date”, False, 20))
result.Add(New WebListBoxColumnData(“”, “Status”, False, 5))
result.Add(New WebListBoxColumnData(“Log entry”, “Log”, False, 75))Return result
End Function