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 01:02 PM UTC

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 08:23 PM UTC

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 09:54 PM UTC

Thank you. This has been corrected now.

Loader.
Up arrow icon