List showItem(id) doesnt seem to work.

It seems that the scrolling within the list is not working. Perhaps it’s the webix-debug js, but when i add data to the list via the add method, and then retrieve the last item id to perform a showItem, nothing happens. Am i missing something or is this a bug?

Kenneth

Hello,

Check the snippet, everything works fine: http://webix.com/snippet/e78f65fe

Btw, the ID of a just added item is returned by the add() method, so you needn’t do anything to derive it:

var id = $$("list").add({... });