returns the ID of the first item
// "data" is the ID of dataview var firstItemId = $$("data").select($$("data").getFirstId());