Documentation

getIdByIndex

returns the id of the item with the specified index

id getIdByIndex(number index);

Parameters

indexnumberthe item index (zero-based numbering)

Returns

idthe item id

See also

Details

if item with such index doesn't exists method returns undefined value

Back to top