delete last record in listgrid

hi..how can i delete the last record in the listgrid by clicking a button??

from the example given by smartClient, juz can be delete the first data and selected data only..

tq