Angular Grid Scroll focus should be on newly added row ?
hi guys, i have angular grid, in that am adding row on add new button. If i want to add one row and scroll is in down so moment when i add new row i need scroll should go on newly added row, means focus should be on newly added row.
please give some example or is it possible
http://stackoverflow.com/questions/36626954/set-focus-to-newly-added-row-in-ui-grid
the grid takes time to register the newly added row, a $timeout function does the trick. refer to the link above for example.
this is not happing on click of add new scroll should go top weather the scroll focus in bottom
can you give some plunker
http://plnkr.co/edit/tf31WuX0Ctq99QtE8aMa there u go. its working.