in
Forums
Blogs
Files
Devexpress.Com
ClientCenter
Support Center
DevExpress Channel

LookUpEdit problem...

Last post 8/16/2008 5:42 PM by Brien King. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 8/16/2008 12:22 AM

    LookUpEdit problem...

    Hi all, I have a small problem working with lookupedit control. I bound it to a datasource, and I also set the DisplayMember and ValueMember properties, but when running the application and selecting the LookUpEdit, it displays all columns of the datasource. So what should I do to avoid this, and to display only the column specified in DisplayMember property?

    Thanx!

  • 8/16/2008 5:42 PM In reply to

    Re: LookUpEdit problem...

    You need to right click on the controls, select "Edit Columns". Then click
    the "Populate Columns" button. After that you can either remove the excess
    columns or hide all the ones you don't want.

    Alternatively, you can selectivly add the columsn you want to display by
    hand.


    Brien King
    President, ClassicSoft, LLC
    http://www.classicsoft.com
    brien@classicsoft.com
    Developers Helping Developers!

    MM> Hi all, I have a small problem working with lookupedit control. I
    MM> bound it to a datasource, and I also set the DisplayMember and
    MM> ValueMember properties, but when running the application and
    MM> selecting the LookUpEdit, it displays all columns of the datasource.
    MM> So what should I do to avoid this, and to display only the column
    MM> specified in DisplayMember property?
    MM>
    MM> Thanx!
    MM>
Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED