Additional Blogs by Members
cancel
Showing results for 
Search instead for 
Did you mean: 
sanjoy0308
Active Participant
0 Kudos

I faced an issue that after I add an item in sap.m.Table, it is going top and user has to scroll down to see last added item. Though we may have way to scroll or focus to lastly added item, but I found one line which solved the problem and thought to share. Write this one line in last line of Add button press event's function.


jQuery('html, body').animate({scrollTop:jQuery(document).height()}, 1000);

We can add delay before animate as well.