Data grid scrollbar related enquiries

Hi Syncfusion Team

I have a requirement for the data grid implementation. 

1) When there is data in the grid, the scrollbar should be always at the top (default behaviour)

2) When an new entry is added, the scrollbar should be at the new entry

3) When the row is expanded, the detail row should be in view without manually scrolling

Is there any way that these 3 requirements can be meet?

Thanks

Regards

Amanda


1 Reply

RR Rajapandi Ravi Syncfusion Team October 6, 2021 01:44 PM UTC

Hi Amanda, 
  
Greetings from Syncfusion support 
  
Query#1: When there is data in the grid, the scrollbar should be always at the top (default behaviour) 
  
Yes, by default when there is data in the Grid the scrollbar should be always at the top. It was the default behavior. 
  
Query#2: When a new entry is added, the scrollbar should be at the new entry 
  
By default, in our EJ2 Grid, a new row will be added at the top of the grid. You can change it by setting editSettings.newRowPosition as Bottom. Please refer the below Sample demo and API for more information. 
  
  
  
In your query you have mentioned that “new entry is added, the scrollbar should be at the new entry”. So please confirm the below details that will be helpful for us to provide better solution. 
  
1)         Please confirm the following scenario, If you are adding new row at bottom position, you like to move the scrollbar to the new row position without manual scrolling? 
  
2)        If you are using Editing feature, please share what type of editing you are used in your application. 
  
Query#3: When the row is expanded, the detail row should be in view without manually scrolling 
  
Please confirm the following scenario, When we expand the detail row if it is not in view port you like to the detail row in the view port without manual scrolling. If not please share your requirement scenario step by step with pictorial representation or video demonstration. 
  
Regards, 
Rajapandi R 


Loader.
Up arrow icon