As said in documentation:
AddExpandableRow (text As String)
When configured to have more than one column, Item is always assigned to column zero
How can I fill other columns in an expendable row ?
As said in documentation:
AddExpandableRow (text As String)
When configured to have more than one column, Item is always assigned to column zero
How can I fill other columns in an expendable row ?
listbox1.AddExpandableRow(“column 0 text”)
dim row as integer = listbox1.LastAddedRowIndex
listbox1.CellValueAt(row, 1) = “column 1 text”
listbox1.CellValueAt(row, 2) = “column 2 text”
etc.
Thank you so much @Tim_Hare !
CellValue is deprecated I use CellTextAt because I use DesktopListbox.
Yes : some useful functions are missing like :
AddExpandableRow( array of strings) (for adding a whole row)
and
AddAllExpandableRows(array of strings) (for adding all rows in one shot, like the existing AddAllRows function).
Or, only 1 function for converting a row to an expandable row…
Dreams, dreams…
it’s easy to make your own in a global (external) module.
AddAllrows (array of 100 strings) is faster than a loop of 100 call to addrow.
So my wish is to have the same result in a AddAllExpandableRows function…