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

GridDataBoundGrid - Display custom columns + hide columns

HI, I am going to work with GridDataBoundGrid. I have to bind my GridDataBoundGrid to a datasource(DataTable). My requirements are: 1. If any column if giving only id (example customer id), hide it. 2. Instead display custom column with value (example customer name fetched for customer id). 3. I want hide few more columns also on which I can work in a hidden manner. Can any one plz refer me suitable sample for this? Thanks in advance Rajani Kanth

1 Reply

AD Administrator Syncfusion Team October 20, 2005 02:58 PM UTC

Take a look at the \Essential Studio\3.3.0.0\Windows\Grid.Windows\Samples\DataBound\GDBGcombos sample. It shows how to use foriegn lookup table to mape DisplayValues to ValueValues. If you do not want to see the combobox, you can set GridBoundColumn.StyleInfo.ShowButtons = GridShowButtons.Hide; for the columns.

Loader.
Live Chat Icon For mobile
Up arrow icon