Print Page | Close Window

Simple Text-based drop-down for XtraGridBindingManager column?

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=1357
Printed Date: 04-Jun-2025 at 5:38pm


Topic: Simple Text-based drop-down for XtraGridBindingManager column?
Posted By: HFloyd
Subject: Simple Text-based drop-down for XtraGridBindingManager column?
Date Posted: 02-Jul-2009 at 3:16pm
Hi,

I have an object called "Note." Each Note has a few properties (NoteDate, NoteType, and NoteText). NoteType is a string value, stored as a varchar in the database.

I would like the user to have the ability to type whatever they want in this field, but would also like to provide a list of possible options, based on data previously used in the field, since often it will be the same type of thing. A proper ComboBox, which allows choosing OR typing in a new value is what would be perfect.

I am able to create a binding source and fill it with the list of string values, but am unclear about how I can use this in the displayed Grid.

Is there some way in code I can "substitute" a ComboBoxEdit, with my bindingsource, for the basic TextEdit field which currently displays?

Thanks!

Heather



Replies:
Posted By: IDelgado
Date Posted: 15-Jul-2009 at 8:32am
Same problem with me, diferent scenario, but basically want to display a list of previously entered values in a string field. Any idea please?



Print Page | Close Window