Set navbar title within drawer

2 posts, 0 answers
  1. BeOne
    BeOne avatar
    16 posts
    Member since:
    Jul 2014

    Posted 23 Sep Link to this post



    how do you change the title of a navbar within a drawer in code?


      <div id="mainMenu"
            <header data-role="header">
                <div data-role="navbar" id="mainNavBar">
                    <span data-role="view-title"></span>
            <ul id="mainMenuListView"
                data-bind="source: menuItemDataSource"


  2. Iliana Nikolova
    Iliana Nikolova avatar
    2570 posts

    Posted 27 Sep Link to this post


    To achieve this you should use the data-title attribute: 
    <!-- ... -->
    <header data-role="header">
        <div data-role="navbar" id="mainNavBar">
            <span data-role="data-title">My title</span>

    Iliana Nikolova
    Telerik by Progress
    Get started with Kendo UI in days. Online training courses help you quickly implement components into your apps.
Back to Top