This is a migrated thread and some comments may be shown as answers.
set index javascript
1 Answer 5 Views
This is a migrated thread and some comments may be shown as answers.
gonzalez
Top achievements
Rank 1
gonzalez asked on 27 Nov 2020, 05:32 AM

actually there is a method get_itemIndex(), which would be equivalent to a method set_selectedIndex(index) from RadMultipage or one method like select()
from RadComboBox

How could I implement it or a code javascript would help me a lot

thanks

1 Answer, 1 is accepted

Sort by
0
Peter Milchev
Telerik team
answered on 27 Nov 2020, 04:44 PM

Hello Gonzalez,

The ImageGallery object has the .selectItem(itemOrIndex) method which receives either and item or an index:

If you just need to select the next or previous item, you can use the .next() or .prev() methods.

Regards,
Peter Milchev
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Asked by
gonzalez
Top achievements
Rank 1
Answers by
Peter Milchev
Telerik team
Share this question
or