Documentation

showView

places focus on the necessary scrollview item

void showView(id id);

Parameters

ididID of the view to scroll to

See also

Example

webix.ui({
    view:"scrollview", 
    id:"verses", 
    body:{
       rows:[
           { id:"verse_1", template:".."},
           { id:"verse_2", template:".."},
           { id:"verse_3", template:".."}
       ]
});
 
function scroll(id){
            $$("verses").showView("verse_"+id);
        }

Back to top