The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
Hi, I want to scroll a record to the top row of the grid. I can use GridGroupingControl.TableControl.ScrollIntoView(record), but this just scrolls the record into view, and doesn''t necessarily scroll it to the top of the viewable area. If the record cannot be scrolled to the top because the records do not fill the display area, then that''s okay. How would I implement this? Thanks.
ADAdministrator Syncfusion Team June 23, 2006 07:02 PM UTC
Hi Stephen,
Try this code to set the record as top view record. Here is a code snippet.
int Index = this.gridGroupingControl1.Table.DisplayElements.IndexOf(record);
this.gridGroupingControl1.TableControl.TopRowIndex = Index;
Let me know if this helps.
Best Regards,
Haneef
STStephenJune 23, 2006 10:44 PM UTC
That doesn''t seem to work for some reason.
ADAdministrator Syncfusion Team June 23, 2006 11:59 PM UTC
Hi Stephen,
Sorry, I am not able to reproduce the mentioned issue. Attached is a sample that works fine with out any error in the mentioned scenario. Can please reproduce the issue in the attached sample and sent it back so that we can get back with a solution at the earliest?
Here is a sample.
http://www.syncfusion.com/Support/user/uploads/NesteTable_f5f2e224.zip
Let me know if this helps.
Best Regards,
Haneef