We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Customer Support

Thread ID:

Created:

Updated:

Platform:

Replies:

35702 Oct 6,2005 02:00 PM Oct 6,2005 05:16 PM Windows Forms 3
loading
Tags: GridControl
Kenneth Johnson
Asked On October 6, 2005 02:00 PM

Would someone, anyone, in customer support please contact me regarding Direct-Trac incident #21349. As I have stated in numerous emails, once a day replies are not getting the issue resolved.

Administrator [Syncfusion]
Replied On October 6, 2005 02:33 PM

The incident has been updated with a different sample trying a custom celltype. Does this work for you? http://www.syncfusion.com/Support/user/uploads/DeleteGrid_4454e0b0.zip

Kenneth Johnson
Replied On October 6, 2005 03:11 PM

Thanks for the help Clay. If you replace the CreateGridTable method with the following, you will see the DisplayMember is not displayed in the grid itself. The ValueMember is displayed. private void CreateGridTable() { this.oDT.Columns.Add(new DataColumn("Part", typeof(System.String))); this.oDT.Columns.Add(new DataColumn("Finish", typeof(System.Int32))); this.oDT.Columns.Add(new DataColumn("Color", typeof(System.Int32))); DataRow oRow = this.oDT.NewRow(); oRow["Part"] = "Base"; oRow["Finish"] = 100; oRow["Color"] = 1000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Base"; oRow["Finish"] = 100; oRow["Color"] = 2000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Base"; oRow["Finish"] = 100; oRow["Color"] = 3000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Base"; oRow["Finish"] = 200; oRow["Color"] = 1000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Base"; oRow["Finish"] = 200; oRow["Color"] = 2000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Gutter"; oRow["Finish"] = 100; oRow["Color"] = 1000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Gutter"; oRow["Finish"] = 100; oRow["Color"] = 2000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Gutter"; oRow["Finish"] = 100; oRow["Color"] = 4000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Gutter"; oRow["Finish"] = 200; oRow["Color"] = 4000; this.oDT.Rows.Add(oRow); oRow = this.oDT.NewRow(); oRow["Part"] = "Gutter"; oRow["Finish"] = 300; oRow["Color"] = 4000; this.oDT.Rows.Add(oRow); }

Administrator [Syncfusion]
Replied On October 6, 2005 05:16 PM

In your lookup tables, the int values for colors and finish are values like 1, 2, 3. The values you set in the above code for the main table are 100, 200, ..., 1000, 2000, etc. This means there is no match between the lookup valuemember''s and the values in the main table. In such cases, the grid displays the values that are in the main table since it cannot match a display value in the lookup table. If you change the main tables values to 1,2,..., then you see the proper display member.

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;