Scroll table to new inserted row - no scroller extension
Scroll table to new inserted row - no scroller extension
Hello, I have a (I think) simple question.
I've a DataTable where users can add rows through a button; I create a new row with row.add(['somedata','somedata','somedata'...]), and I'd like the table to scroll automatically to this row when the user press the 'New terminal' button. I know I can use the scroller extension and the relative methods, but this prevents the wrapping of long cells, cutting (if the table container has a fixed width) or stretching the table to accommodate the exceeding text. Is there another method to perform this scroll operation ?
Thanks
Rodolfo.
Answers
See if Allan's answer in this thread helps.
Kevin
See this thread with an example.
Kevin