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

How can I hide combo in datagrid when I don't wanna use it?

I put the combo to datagrid like the sample in "Win Forms FAQ". Yes, it's really cool but I have a problem when I wanna hide the combo (display just text filed only) I don't know how. Can anyone help me? some modes of my programm need to display combo in datagrid but some modes does not. Thank in advance. Joe

1 Reply

HP HP April 23, 2003 06:35 PM UTC

One way is to create two DataGridTableStyles...one to display the combo box and the other without the combo box...and assign the style to the grid when appropriate... hp > I put the combo to datagrid like the sample in "Win Forms FAQ". Yes, it's really cool but I have a problem when I wanna hide the combo (display just text filed only) I don't know how. Can anyone help me? > > some modes of my programm need to display combo in datagrid but some modes does not. > > Thank in advance. > Joe >

Loader.
Live Chat Icon For mobile
Up arrow icon