Topics related to the Krypton Toolkit.
Moderators: Phil Wright, Chris Porter
How do I change the datagridview column's type in code? There's a design time setting called "ColumnType" but I don't see that option when I access the column in code with something like this datagrid1.columns("columnname").
- Posts: 9
- Joined: Mon Oct 12, 2009 10:31 am
As far as i know you can't change the type of a column at runtime, you'll have to clear the columns and add the columns with the appropriated type for each column according to the current situation. Another idea may be to add all possibly needed columns and switch their visibility at runtime...
- Posts: 58
- Joined: Fri Mar 06, 2009 12:42 am
Return to Krypton Toolkit
Who is online
Users browsing this forum: No registered users and 2 guests