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

xtraGrid LookupEdit - Grid Column is Empty

Last post 8/21/2008 2:15 PM by Leonard Minner. 1 replies.
Page 1 of 1 (2 items)
Sort Posts:
Previous Next
  • 8/20/2008 5:25 PM

    xtraGrid LookupEdit - Grid Column is Empty

    I have a grid control that works fine.  However, when I try to add a repository lookupedit to a grid field and run the application, the source grid column no longer contains data.  Here is my code:

     

     

     

    GridView1.Columns(

    "Period").ColumnEdit = RepositoryItemLookUpEdit1

    RepositoryItemLookUpEdit1.DataSource = dttAvailPd

    RepositoryItemLookUpEdit1.DisplayMember =

    "fldPdCd"

    RepositoryItemLookUpEdit1.ValueMember =

    "fldPdCd"

    RepositoryItemLookUpEdit1.ThrowExceptiononInvalidLookUpEditValueType =

    True

    Can anyone help me with this?

    Filed under: ,
  • 8/21/2008 2:15 PM In reply to

    Re: xtraGrid LookupEdit - Grid Column is Empty

     After testing different theories, I realized the valuemember field must be an integer.  That took care of it.

Page 1 of 1 (2 items)
Copyright © 1998-2008 Developer Express Inc.
ALL RIGHTS RESERVED