getFirstId of DataCollection, Methods Webix Docs

StartAPI ReferenceMixinsDataCollectionMethods

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

  • API

  • Articles

  • Back to top

    Join Our Forum

    We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.

    Go to Forum