title: Remove all rows from the datatable except last one
body: <p>As the title says, i have a datatable, now i want to remove all the rows in the datatable except the last one. I know there can be many complex ways to do so, but i would like to know the short &amp; efficient way to do this task.</p>