When I bind a combobox to my datasource, I can see the columns collection populated. So far so good. The problem is the Remove button is disabled. Is this normal? I want to only display some of the columns, I see there is a hidden property. That works as expected, but I can't re-order the columns or change the headers text (at least not that I can find).
Ah, I see. I was looking in the grid designer. Didn't even think about the smart tags.
That works thanks. FYI, when I use the smart tag editor > Layout > Columns > Collection > Columns Collecton Editor, the buttons say "Add" & "Remove". There is no "Unbound" in there, hence my confusion :)
Hi,
You cannot remove a bound column, you can only hide it. There is no remove button, there is only "Remove unbound column" which, of course, only works for unbound columns.
I recommend that you hide, position, or change the captions of the columns in the InitializeLayout event of the combo at run-time.
But if you want to do it at design-time, you can do all of these in the designer. Right-click on the combo and select "UltraCombo Designer". Then go to:
Band and Column Settings --> Band [0] --> Column Arrangement Overview --> Column Arrangement Designer