getFirstId of DataCollection, Methods Webix Docs
returns the ID of the first item
number|string getFirstId();
| number|string | the ID of the first item |
Example
// "data" is the ID of dataview
var firstItemId = $$("data").select($$("data").getFirstId());
Related samples
See also
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.