returns the ID of the last item
//"data" is the ID of dataview $$('data').showItem($$('data').getLastId())