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. Image for the cookie policy date

Foreign Key Columns: Showing One Value but Saving Another

First, I have found a little bug in the sample code in the user guide in Grid -> DataBoundGrid -> BoundColums -> Foreign Key Column : PrimareyTable() and ForeignKeyTable() functions; the While loop is endless -> loop variable i is not incremented. hope it''s usefull for you. Second, reagrding the same subject, this mechanism anly works if the column type is ComboBox, what if I want the cell to display mapped value from the primary table whith no combo?? Thanx

3 Replies

AD Administrator Syncfusion Team February 16, 2005 08:02 AM

What version are you seeing the first problem in? To simplest way to get this fuctionality without teh combobox is to hide the combobox button. You can do this by setting style.ShowButtons = GridShowButtons.Hide for the style of the cell.


AH Ahmed February 24, 2005 03:23 PM

The Bug in sample code, are in last version, I downloaded two weeks ago. >What version are you seeing the first problem in? > >To simplest way to get this fuctionality without teh combobox is to hide the combobox button. You can do this by setting style.ShowButtons = GridShowButtons.Hide for the style of the cell.


AD Administrator Syncfusion Team February 24, 2005 04:54 PM

Thank you. This has been corrected now.

Loader.
Live Chat Icon For mobile
Up arrow icon