ComboBox query


Author
Message
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
I am trying to set up a combobox. Have the Strataframe Combo Box dropped on form. have set to Business Object and specified the method to populate. When I run, and click on Combo, I get blanks in the Combobox. I think it is displaying the records (just showing Blaknks) but not showing the required fields. I have put two field names into the MultiColumn Column property but must be missing somnething ....
Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.3K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
Did you set the property on the combo that tells it to use multi columns (UseMultiColumns)?
Ger Cannoll
Ger Cannoll
Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)Advanced StrataFrame User (630 reputation)
Group: StrataFrame Users
Posts: 430, Visits: 507
Hi Greg

Yes, I have the MultiColumn proerty set.

Is the columns collection the only property I need to fill to tell it the fields ?

There also a property called Item, whicj is highlighted with Collection...but have not put anything inot it.

Greg McGuffey
Greg McGuffey
Strategic Support Team Member (3.3K reputation)
Group: Forum Members
Posts: 2K, Visits: 6.6K
You don't need to worry about the Items collection. This is what you'd use to fill the combo manually, rather than using SF to fill it for you.



I'd look into three other things:

- Did you setup the PopulationDataSourceSettings correctly? You need to set the Display Member Format String (indicating what is displayed when the drop down is closed) and the Drop-Down Display Format String (indicating what is displayed when the combo is opened).

- Did you set the ColumnSeparator property? The ColumnSeparator should match the character used in the Drop-DownDisplay Format String (e.g. if you set this to "{0}|{1}", then the ColumnSeparator would be "|").

- Have you checked that the Fill method is really filling the BO as you expect?



To check the last, set a break after the FillDataTable call and use the data table visualizer to check that the data is being returned correctly.



Check out the Multicolumn sample provided with the SF install also. It pretty clearly shows how to use this feature.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search