Delete column in columnbox

Hello, is there a solution to delete a column or all columns in the Bcolumnboxview.

If you mean BColumnListView, there is a method RemoveColumn(BColumn* column).

Hello BlueSky,

Yes i mean BColumnListView. Did you use have this method. Do you know an example to use this method.

I think to use it RemoveColumn(BColumn* column) , column should be the index from the column. Am i right?

Nope, it’s the BColumn object you like to remove. You first need to get it, like:

int32 index = 4;
BColumn* removeColumn = theColumnView->ItemAt(index);
theColumnView->RemoveColumn(removeColumn);
1 Like

Hello humdinger,

thank you.

I will try it.