Widgets
Samples
Demos
Forum
Services
Documentation
add
addCss
addShape
adjust
adjustItem
attachEvent
autoPlace
bind
blockEvent
callEvent
clearAll
clearCss
count
customize
define
destructor
detachEvent
disable
enable
exists
filter
find
getChildViews
getFirstId
getFormView
getIdByIndex
getIndexById
getItem
getItemNode
getItemValue
getLastId
getLinkItemNode
getLinks
getNextId
getNode
getParentView
getPrevId
getScrollState
getSelectedId
getSelectedItem
getShape
getShapes
getTopParentView
hasCss
hasEvent
hide
isCurveLink
isEnabled
isSelected
isVisible
load
loadNext
locate
mapEvent
parse
queryView
refresh
remove
removeCss
render
resize
scrollTo
select
selectAll
serialize
setShape
show
sort
sync
unbind
unblockEvent
unselect
unselectAll
updateItem
waitSave
Start
API Reference
ui.diagram
Methods
scrollTo
scrolls the data container to a certain position
void
scrollTo
(
number
x
,
number
y
);
x
number
the value of horizontal scroll
y
number
the value of vertical scroll
Example
$$
(
"view"
)
.
scrollTo
(
0
,
40
)
;
Related samples
Scrollview
See also
Articles
Scroll Control
Back to top