scrollToDataIndex(dataIndex, animationDuration?) â
scrollToDataIndex
scroll to the specified data index position.
Reference â
typescript
(dataIndex: number, animationDuration?: number) => void
Parameters â
dataIndex
Data index.animationDuration
Animation duration. If it is less than or equal to 0, there is no animation.
Returns â
scrollToDataIndex
returns undefined
.