This is a migrated thread and some comments may be shown as answers.

How to reload tabstrip when datasource changes?

2 Answers 251 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Clint
Top achievements
Rank 1
Clint asked on 24 Jul 2012, 12:41 AM
I'm trying to filter a tabstrip using the selection of a local datasource.  How do you completely reload the tabstrip, adjusting for the new filtered datasource?

Attached is a fiddle with an example... obviously I didn't wire up the reload event because I didn't know where to go with it.

http://jsfiddle.net/clechner/pnRnA/



2 Answers, 1 is accepted

Sort by
0
Accepted
Kamen Bundev
Telerik team
answered on 27 Jul 2012, 11:16 AM
Hi Clint,

Looks like you've hit a bug - the TabStrip items are not removed on refresh. I've fixed it and the fix will be available with the next internal build and the service pack. As workaround, you can remove them manually - check the updated jsFiddle below, which also does the filter you want.:


I also updated your points for the find.

Kind regards,
Kamen Bundev
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Lali
Top achievements
Rank 1
commented on 04 Oct 2021, 06:18 AM

Hi,

could you provide the updated JSFiddle link. I too want refresh datasource in kendo tab-strip without refresh page using angularjs code

I want to change tabstrip tabs based on user selection.

 

Neli
Telerik team
commented on 07 Oct 2021, 06:11 AM

Hi Lali,

As the thread is a bit old I am afraid that JSFiddle links are not available. However if you need to refresh the content of the TabStrip tabs you can use the reload method

- https://docs.telerik.com/kendo-ui/api/javascript/ui/tabstrip/methods/reload

If this does not help to resolve the issue, please provide us a little bit more details on the exact scenario, so I could provide appropriate assistance.

Regards,

Neli

0
Clint
Top achievements
Rank 1
answered on 27 Jul 2012, 11:22 AM
Thanks Kamen!  That does it.  I wondered why the refresh wasn't working so I tried a variety of ways.  Thanks for the workaround.
Tags
TabStrip
Asked by
Clint
Top achievements
Rank 1
Answers by
Kamen Bundev
Telerik team
Clint
Top achievements
Rank 1
Share this question
or