How to increase height of listview based on item name

2 posts, 0 answers
  1. M Kumar
    M Kumar avatar
    40 posts
    Member since:
    Apr 2008

    Posted 21 Jan 2015 Link to this post

    Hi
      I am bind data in listview in mobile application,some data have long name like more than 150 letters,that time what happen ,it appear in second line,but not visible properly,

    my code is 

      var listview = $("#filesView").data('kendoMobileListView');
      treeViewDatasource = new kendo.data.DataSource({ data: dirinfo, group: "GroupLetter" });
      listview.setDataSource(treeViewDatasource);

    in above,dirinfo i get data form webservice,in mobile device width is small when compare with ipad,so in mobile device long name comes second line,but not to view,
    Possible to increase the height of the listview based on item name ?

    here i attach file

    Regards
       Aravind
  2. Petyo
    Admin
    Petyo avatar
    2439 posts

    Posted 23 Jan 2015 Link to this post

    Hi,

    I am not sure what goes on in your case. By default, the listview does not constrain its content by height - check this example.

    Regards,
    Petyo
    Telerik
     
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
     
  3. Kendo UI is VS 2017 Ready
Back to Top