I have an issue with automatically arranging two different Datagrid after each other after 1150 rows for the first grid. I would like to achieve 2000 rows then the next grid can follow dynamically. My current code works with maximum rows of about 1150 before the next grid starts dynamically. but after that, it throws off the next datagrid under the first one.
Hi Leke Salami,
Based on the provided information, we suspect that the issue occurs when the SfDataGrid contains 2000 rows, causing the second datagrid to be positioned improperly, overlapping the first datagrid at certain positions. If possible, could you please share a demo that reproduces the issue? This will help us to accurately replicate the reported scenario.
The demo can be found here, we are just looking for a solution that can be used for two different tables, whereby the tables will follow each other irrespective of the number of rows of the first table.
https://sendgb.com/v70uKGDyzNl
Thanks
Hi Leke Salami,
Thank you for the update. It appears that we are unable to access the link provided in your last update for the demo. Could you please share an accessible link or provide a runnable demo to further investigate the reported scenario.
The link is active, I just tried it now…
Hi Leke Salami,
We have successfully accessed the provided link for the sample and downloaded. We now require some time to analyze the reported scenario. We will provide further updates on or before May 09, 2024.
Hi Leke Salami,
After analyzing your sample and attempting to replicate the reported scenario, we observed that no data is loaded when retrieving data from the method GetSummarySheet().
We attempted to run the sample without the condition datas.Count > 0 in the button click, and we obtained the image as attached below.
Please use like December date not recent date. You can check the database under Pb_summarysheet for a valid date you can check. You have to use either Calculate button or view button. Better still use same date as used in the demo.
Hi Leke Salami,
In the provided sample, it appears that there is no database. We did not modify
any date as you mentioned, and View button is not visible in the view. Without any data, we are unable to replicate the
reported scenario in the provided sample.
Please review the image below, which shows that no data get from the GetSummaryMethod.
We have created a simple sample using a FlowLayoutPanel with two SfDataGrid controls in an attempt to replicate the reported scenario. However, we were unable to reproduce the issue on our end. We kindly request that you review this sample and if possible, attempt to replicate the reported issue.
You can select any date from 1st of january 2024 to 9th of march 2024... then you can click calculate button if it is highlighted or click on VIEW button.
Thanks
Hi Leke Salami,
As
per the date you mentioned, we used the date but there are no changes. The data
is not loaded in the view. We have attached an video for your reference. Kindly
check it. If possible, please share a video replicating the issue, as we still
did not receive any data.
Hi Leke Salami,
Attached the video for your reference. Kindly look into this.
I tested both the debug exe and the code myself, it runs, it takes about 20 seconds to load from debug exe and about 30 seconds to load from code.... so just wait for 2 minutes max. if you are using a lower rating system.
Thanks
Hi Leke Salami,
We have successfully run the provided sample, and the data is loaded in the
view. In response to your reported scenario, we tested the positioning of
SfDataGrid2 in the ResizeDataGrid() method. According to your case, when
rows exceed 1150, it offsets the next datagrid under the first one.
Upon reviewing the provided video, it seems that the second datagrid's position is lower than the height of the first datagrid. However, when attempting to replicate the scenario on our end, we did not encounter the same issue. The second datagrid's position is indeed greater than the height of the first datagrid.
It's possible that the discrepancy may be related to system resolution. Could you please share your system resolution and OS version so that we can attempt to replicate the issue on our side.
Kindly refer the attached image for your reference.
Can you send a screen shot of your demo after running it , cause the maximum row based on that database is about 1415 or approximately. Were you able to see it all? If you can’t see it then you should have a solution to automatically show second grid irrespective of the first gird length.
This is not the of screen resolution, it has been tested on 13inches, 14”, 15” and 16 inches laptops same issue. And the OS is windows 10.
Thanks
Hi Leke Salami,
Based on the provided information, we were able
to replicate the issue on our end. When the record count is increased to nearly
1170, the issue is reproduced, and the second DataGrid is not visible.
We are currently analyzing the cause of the reported issue. We need some time to validate this, and we will provide an update on or before May 21, 2024
I dont still get why nobody has responded, firstly it took you guys about 10 days to be able to just know how to download a demo code from a link you claimed has nothing on it... down to how to run it which was straight forward from the get go. Is it that syncfusion pays you for each request you reply to? I dont know why you guys make it seem to be a rocket science to do the least things. Because this means a business cant use your library once they have over 1170 rows?
Today is 21st of may you promised. You guys should do better, same with the other issue I had, you guys could not sort it out.
Best regards
Hi Leke Salami,
We deeply regret the inconvenience caused to you. Initially, we were unable to
access the link to download the demo. After attempting to replicate the issue,
you mentioned that we needed to select specific dates to load the data. This
type of conversation took time to replicate the issue. Now, we have prepared a
simple sample and the issue is replicated in this as well. And, we have
checked this case in Framework DataGrid also. In Framework DataGrid, second
grid not displayed. Now, we are validating this issue to determine whether it
should be considered a bug. We will provide an update on or before May 23,
2024.
Hello there,
I’m wondering why there is no update from you guys up till now. You promised on or before on the. 23rd of may and now nothing has been said. If you think it is a bug then report it as one let’s know what we are doing about it.
Hi Leke Salami,
As per our further analysis, Initially, the position of the second DataGrid was correctly updated; however, during the rendering process, the location was assigned an incorrect value. Currently, we have consider this as a bug report.
We have checked the reported issue “SfDataGrids overlaps after certain row when the grids are within the FlowLayoutPanel” on our end and it is confirmed as a defect. And We have logged a bug. We will fix this issue and include it in our upcoming Nuget release Which is scheduled on June 25, 2024.
You can track the status of this report through the following feedback link,
Feedback Link: SfDataGrids overlaps after certain row when the grids are within the FlowLayoutPanel in WinForms | Feedback Portal (syncfusion.com)
Note: The provided feedback link is private, and you need to log in to view this feedback.
We will let you know once it is released. 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.
Note: Additionally, we have analyzed the same scenario and found that placing the Framework DataGrid within the FlowLayoutPanel results in some rendering problems. We suspect that the problem originates at the framework level. If it is indeed a framework-level issue, we will update you with the details.
Thanks for your response, is there a way we can break it to two when the number of rows is over 1000 so that we can have two grid. 1st one for 1000 rows exactly and the other grid would be for the remaining 1000 or less with the last grid where the summary is show at the bottom.
Thanks
Hi Leke Salami,
Based on the reported scenario, your requirement is to place the summary row at the bottom of the grid. Based on the GridTableSummaryRow position, the summary row will be maintained. Since your requirement is to maintain the summary row at the bottom of the grid, update the position of GridTableSummaryRow to "Bottom" and finally update the GridSummaryColumn.
For your reference, the attached UG link provides guidance on handling "Summaries."
UG Link-> https://help.syncfusion.com/windowsforms/datagrid/summaries
Please let us know if you need any other assistance. We will be happy to assist you.
Regards,
Santhosh.G
The above didnt work s expected, Please when would the bug fix be available?
thanks.
Leke Salami
Hi Leke Salami,
Your requirement is to split the datagrid if the number of records is greater than 1000. For all the grids, a consolidated summary row at the bottom is not possible.
As previously mentioned, the bug fix is promised for the upcoming NuGet release, which is scheduled for June 25, 2024.
Good day,
I would like to ask if the Nuget release schedule for tomorrow will cover the issue mentioned here and if it does cover, how will it be coded to solve the issue?
Thanks .
Leke Salami
Hello there,
I would like to know if there is any solution or update on the issue mentioned above?
Thanks