I have some ComboBox cells in a GridControl. They each have a DataSource which specifies the items to show when the ComboBox is expanded.
I want to autosize the ComboBox so that it will fit the width of the largest item within its DataSource instead of autosizing to fit its current value.
I have been using the code below to do the autosize, but as I said before it only looks at the current value in the ComboBox cell to determine the width instead of looking in its DataSource or ChoiceList. Is there any way to get it to autosize as per the largest width entry in the DataSource?