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.

Using the Correct Grid?

Thread ID:





2484 Jan 23,2003 09:40 AM Jan 23,2003 04:04 PM Windows Forms 1
Tags: GridControl
Kenneth Johnson
Asked On January 23, 2003 09:40 AM

Here's my scenerio. I need a grid loaded from a DataTable. I also need to be able to set specific cells to cell type Static. I also need to rebuild the combobox selection list on the fly so the user cannot add a new row to the grid and make a selection that would result in a duplication in a specific column. I'm currently using a GridDataBoundGrid and creating a GridBoundColumn for each column in the DataTable. I'm having problems resetting the cell type for a cell and resetting the cell's combobox selection list datasource. Are these types of cell specific changes possible with the GridDataBoundGrid or should I try the GridControl?

Administrator [Syncfusion]
Replied On January 23, 2003 04:04 PM

Hi Ken, try to take a look at the QueryCellInfo event. This lets you specify cell type, combobox data source and other cell settings on the fly. Check out also the CurrentCellValidating event to prevent duplicate values. I thing using GridDataBoundGrid is the right choice. Stefan


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.