-
Notifications
You must be signed in to change notification settings - Fork 775
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
[SfDataGrid] [BugFix] When only one row, ColumWidth fitByValue failed #860
Comments
just annotation it, or revise to:
then it is ok to run only one row datasource |
Hi @YancyHsu , We have checked your query at our end, and we are able to replicate that issue at our end. We have considered this as a bug and logged a bug report regarding this in our feedback portal. We will fix the reported issue and include the changes in our upcoming weekly patch release, which is expected to be rolled out on August 20, 2024. We will let you know once released, and we appreciate your patience until then. Disclaimer: Inclusion of this solution in the weekly release may change due to other factors including but not limited to QA checks and works reprioritization. Regards, |
Hi @YancyHsu , We are glad to inform you that the reported problem has been resolved on our end. Therefore, kindly update SfDataGrid to the latest version(26.2.10). Root cause : We previously implemented a condition to calculate the cell width when the effective rows are empty. This condition is the root cause of the bug. The issue occurs because the condition checks if endIndex <= 0. However, the endIndex is 0 whether the effective rows are empty or contain a single row. If you have any further queries, please don't hesitate to reach out. We are more than happy to assist you. Regards, |
Hi @YancyHsu, We believe that the reported issue has been resolved in the latest DataGrid version. Hence, we are closing this issue. If you need any further assistance, please reopen this ticket. We are always happy to help you. Regards, |
two or more it works well, so maybe somewhere rowindex start from 1? i cant find it in the source code
The text was updated successfully, but these errors were encountered: