If you became a customer of the Syncfusion Reporting Platform or the Report Viewer, Report Designer, or Report Writer components before October 2019 and have questions related to those products, you can request support through our forum system. However, please note that this support system is only for existing customers who are still using the Syncfusion Reporting Platform or its components and not for new customers looking for reporting products from Syncfusion.
For new customers or those with general reporting questions, we recommend contacting our support team at https://support.boldreports.com/, which is a separate brand created by Syncfusion for its reporting solutions. Our team will be happy to assist you with any questions you may have.
Thank you for choosing Syncfusion for your reporting needs.
I have an issue, Please let me know how to resolve it.
I must paging my DataGrid into many pages, I using TopRowChanging event to jump to the next page. I using SetTopRow to changes the top row index and scrolls the grid. But I seem it doesn''t jump to the row I need.
Below is my code
private void dgrQueryResults_TopRowChanging(object sender, GridRowColIndexChangingEventArgs e)
int pos = e.Value;
CurrentPostScroll = pos;
//Get next row to jump.
CurrentPostScroll = GetNearlyPosition(pos);
this.dgrQueryResults.VScrollBar.Maximum = Math.Max(CurrentPostScroll-1, this.dgrQueryResults.VScrollBar.Maximum);
Please help me,
ADAdministrator Syncfusion Team May 11, 2005 10:42 PM UTC
I do not understand what you are trying to do.
If you want to scroll the grid so rowindex 342 is at the top of the grid, then set grid.TopRowIndex = 342.
The real question how does your user indicate he wants to page the grid? Does he click a button or something? If so, then in your button handler, increment or decrement grid.TopRowIndex by the ''number of rows in your page''.
I do not think you what to try to call SetTopRow in the middle of TopRowChanging.
HDHoang DinhMay 13, 2005 06:57 AM UTC
But When I set TopRowIndex value in TopRowChanged event, this event is raised again.
When I drag or click on the arrow on the scrollbar, I need jump to the next page, so that I must call SetTopRow function to jump to the new page. The grid raise TopRowChanged event at least two times.
How to prevent the TopRowChanged event when I call SetTopRow function.
ADAdministrator Syncfusion Team May 13, 2005 01:05 PM UTC
You can avoid executing the code more than once by setting a flag.