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
If you have not checked yet, be sure to visit site of our main product Webix ui widget library and page of dataview to datatable product.