Tab appended dynamically with close icon.

2 posts, 0 answers
  1. George
    George avatar
    1 posts
    Member since:
    Apr 2014

    Posted 09 Jul 2014 Link to this post


    I was wondering if it is possible to have in a tab created dynamically a close (X) icon and having a click event registered to it so when detected to fire remove() method and remove the specific tab from the tabstrip?
    I imagine it similar to the tabs of Chrome or FireFox browsers.

    I hope it's clear what I describe here.


    George Panagopoulos
  2. Kamen Bundev
    Kamen Bundev avatar
    1532 posts

    Posted 11 Jul 2014 Link to this post

    Hello George,

    You can use the tab option encoded: false to render HTML inside the tab. Check this demo how to easily use this HTML to make a close button (though you will need to style it accordingly).

    Kamen Bundev
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top