Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cannot use KryptonDataGridViewIconColumn with KryptonDataGridView #27

Closed
PWagner1 opened this issue Nov 17, 2020 · 9 comments
Closed
Labels
bug Something isn't working completed This issue has been completed.

Comments

@PWagner1
Copy link
Contributor

PWagner1 commented Nov 17, 2020

Describe the bug
When a user selects KryptonDataGridViewIconColumn as a column type, a error is thrown stating a 'constructor cannot be found'.

To Reproduce
error_datagrid_icon_column

@PWagner1 PWagner1 added the bug Something isn't working label Nov 17, 2020
@DarthVader85PA
Copy link

@Wagnerp Thanks! Greetings from Germany (James_007 in Discord) :)

@PWagner1
Copy link
Contributor Author

Hi @DarthVader85PA

I found the issue, it appears that the KryptonDataGridViewIconColumn class is the base for the other column types (the name is confusing). The resolution is to create another class for icons or to convert icons to bitmap images on the go.

@DarthVader85PA
Copy link

DarthVader85PA commented Nov 17, 2020

Hi @Wagnerp

At the moment I use DataGridViewImageColumn. That works for me.
grafik
Perhaps you can use this class as a inherit class? I found out, can using the DataGridViewTextColumn too, but the design of a DataGridViewTextColumn is not the same to the column KryptonDataGridViewTextColumn?!

@Smurf-IV Smurf-IV self-assigned this Jul 18, 2021
@Smurf-IV Smurf-IV added the under investigation This bug/issue is currently under investigation. label Jul 18, 2021
@Smurf-IV
Copy link
Member

Fix this by removing the visibility of the Icon column type from the selection

@Smurf-IV
Copy link
Member

@Wagnerp Fix in alpha or version-next ?

@PWagner1
Copy link
Contributor Author

@Wagnerp Fix in alpha or version-next ?

@Smurf-IV version-next would be best

@Smurf-IV
Copy link
Member

Hmm.. "Version_Next" does not exist in Standard :-!

@PWagner1
Copy link
Contributor Author

Hmm.. "Version_Next" does not exist in Standard :-!

Sorry, I meant alpha vNext is extended toolkit, getting confused

@Smurf-IV
Copy link
Member

In Progress:
image

@Smurf-IV Smurf-IV added in progress A fix for this issue is in the works. and removed under investigation This bug/issue is currently under investigation. labels Jul 18, 2021
Smurf-IV added a commit that referenced this issue Jul 18, 2021
… `KryptonDataGridViewIconColumn`

- Put back the removed `CLSCompliant` and `ComVisible` assembly flags for backwards compatibility
- Update the projects to comply/use the latest analysers

Fixes #27
@Smurf-IV Smurf-IV added completed This issue has been completed. and removed in progress A fix for this issue is in the works. labels Jul 19, 2021
@Smurf-IV Smurf-IV removed their assignment Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working completed This issue has been completed.
Projects
None yet
Development

No branches or pull requests

3 participants