Disable default selection

2 posts, 0 answers
  1. Ivo
    Ivo avatar
    1 posts
    Member since:
    Jan 2013

    Posted 11 Feb 2013 Link to this post

    Can you advice me, how to disable default selection in ListView in Chrome browser? When I open ListView in Chrome, the first item of ListView is selected by default. I was trying to call clearSelection on object created this way:
    gListView = $("#listView").kendoListView({
        selectable: true,
        navigatable: true,
        dataSource: gDrawDataListView,
        template: kendo.template($("#template").html())
    but when I was trying to call
    the object did not have this method.
    What am I doing wrong?
  2. Iliana Nikolova
    Iliana Nikolova avatar
    2622 posts

    Posted 13 Feb 2013 Link to this post

    Hi Ivo,

    I am not quite sure if I understand you correctly - there is no default selection in Kendo UI ListView (check this short screencast capture). Could you please elaborate a bit more?

    On a side note you can clear the selection using the following code snippet:
    // get a reference to the list view widget
    var gListView = $("#listView").data("kendoListView");
    //clear selected items


    Iliana Nikolova
    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