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]: KryptonDataGridView reorders Columns during debugging #1784

Open
lph993 opened this issue Sep 24, 2024 · 5 comments
Open

[Bug]: KryptonDataGridView reorders Columns during debugging #1784

lph993 opened this issue Sep 24, 2024 · 5 comments
Labels
area:datagrid All issues related to the DataGrid. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. bug Something isn't working version:85-lts All things to do with V85 LTS. version:100 All things to do with V100.

Comments

@lph993
Copy link

lph993 commented Sep 24, 2024

Describe the bug
When adding the KryptonDataGridView component to KryptonForm, the designer will rearrange the Columns properties of the component during debugging startup. At this time, the Columns properties are not in effect. Once run again (without any other operation), the Columns properties will be written in order to the [*. Designer. cs] file, causing interface changes.
--Translated from the internet.

Desktop (please complete the following information):

  • OS:Windows 11
  • Version: 23H2 22631.4169
  • Framework/.NET Version: 4.6.2
  • Toolkit Version: Microsoft Visual Studio Professional 2022 17.11.4
@lph993 lph993 added the bug Something isn't working label Sep 24, 2024
@lph993
Copy link
Author

lph993 commented Sep 24, 2024

I just tested it a few more times. It was found that debugging cannot be started when the designer is open, otherwise the designer class will be confused.

@lph993
Copy link
Author

lph993 commented Sep 24, 2024

I tested again and found that this issue only occurs when unbound columns are added after binding data to the DataSource (BindingSource).

@giduac giduac added the awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. label Sep 24, 2024
@giduac
Copy link
Contributor

giduac commented Sep 24, 2024

Hi @lph993,

Can you please add a simple sample program that demonstrates the error.

Thanks.

@Smurf-IV Smurf-IV added the area:datagrid All issues related to the DataGrid. label Sep 24, 2024
@lph993
Copy link
Author

lph993 commented Sep 24, 2024

DataGridViewDemo.zip
here

@PWagner1 PWagner1 added version:85-lts All things to do with V85 LTS. version:90 All things to do with V90. labels Sep 24, 2024
@PWagner1 PWagner1 added this to the Version 85 milestone Sep 24, 2024
@giduac
Copy link
Contributor

giduac commented Oct 13, 2024

KryptonDataGridView and it components have several shortcomings which we will try to address in the V100 release or earlier if possible.

@giduac giduac added version:100 All things to do with V100. and removed version:90 All things to do with V90. labels Oct 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:datagrid All issues related to the DataGrid. awaiting feedback A fix for this issue has been implemented, waiting for feedback on the fix. bug Something isn't working version:85-lts All things to do with V85 LTS. version:100 All things to do with V100.
Projects
None yet
Development

No branches or pull requests

4 participants