New Posts New Posts RSS Feed: Simple Text-based drop-down for XtraGridBindingManager column?
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Simple Text-based drop-down for XtraGridBindingManager column?

 Post Reply Post Reply
Author
HFloyd View Drop Down
Groupie
Groupie


Joined: 27-Jul-2007
Location: United States
Posts: 44
Post Options Post Options   Quote HFloyd Quote  Post ReplyReply Direct Link To This Post Topic: Simple Text-based drop-down for XtraGridBindingManager column?
    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
Back to Top
IDelgado View Drop Down
Newbie
Newbie


Joined: 04-Oct-2007
Posts: 5
Post Options Post Options   Quote IDelgado Quote  Post ReplyReply Direct Link To This Post 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?
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down