Add a css class to the ListView's container?

2 posts, 0 answers
  1. Kurt
    Kurt avatar
    1 posts
    Member since:
    Oct 2010

    Posted 12 Oct 2012 Link to this post

    Is there any way to add a CSS class to a ListView's container?

    For example, I would like to add the CSS class "row" so it looks like this:
    <div id="CertificationList" class="row k-widget k-listview" data-role="listview">

    This is the ListView:
  2. Nikolay Rusev
    Nikolay Rusev avatar
    2287 posts

    Posted 15 Oct 2012 Link to this post

    Hello Kurt,

    With Q2 2012 SP1 HtmlAttributes was introduced to ListView MVC wrapper. You can use it to add various attributes(including class names) to ListView wrapper element.

    All the best,
    Nikolay Rusev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top