getFirstId

returns the ID of the first item

number|string getFirstId();
number|stringthe ID of the first item

Example

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

Related samples

See also
Back to top