J john sutor Jan 29, 2004 #1 Does anyone know how to create a combobox in a standard datagrid? I can create check boxes , but not the combobox
Does anyone know how to create a combobox in a standard datagrid? I can create check boxes , but not the combobox
R Rob Windsor [MVP] Jan 29, 2004 #2 Hi John, The most common way is to create a custom column style. Check out the links below or detailed information on how to do this. How can I put a combobox in a column of a datagrid http://www.syncfusion.com/faq/winforms/search/480.asp DataGrid Combobox Column Style http://www.codeproject.com/cs/miscctrl/datagrid_combobox.asp?target=combobox|datagrid A ComboBox in a DataGrid http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp?target=combobox|datagrid
Hi John, The most common way is to create a custom column style. Check out the links below or detailed information on how to do this. How can I put a combobox in a column of a datagrid http://www.syncfusion.com/faq/winforms/search/480.asp DataGrid Combobox Column Style http://www.codeproject.com/cs/miscctrl/datagrid_combobox.asp?target=combobox|datagrid A ComboBox in a DataGrid http://www.codeproject.com/cs/miscctrl/datagridcomboboxcolumn.asp?target=combobox|datagrid
G Guest Feb 2, 2004 #3 you can using the DataGridColumnStyle class to inherit and implement what do you to do. what ever, any control can fit into the cell of datagrid
you can using the DataGridColumnStyle class to inherit and implement what do you to do. what ever, any control can fit into the cell of datagrid