KendoListview Data source data listing is completely different on different versions.

1 Answer 20 Views
ListView
Christy
Top achievements
Rank 1
Christy asked on 12 Dec 2023, 06:38 AM | edited on 12 Dec 2023, 06:39 AM

Hi Team,

KendoListView Data Source listing structure is completely different in different KendoListView versions.

In 2019.2.619

Data is coming directly under given div



In 2020.3.1118

Data is coming under k-listview-content div


Regards,

Christy.

1 Answer, 1 is accepted

Sort by
0
Zornitsa
Telerik team
answered on 14 Dec 2023, 03:23 PM

Hi Christy,

The behavior you described occurs due to the rendering changes in the ListView component as of the Kendo UI R2 2020 release. Starting with this version, there has been added a wrapper element for the items in the list with the aim of improving the appearance of the widget. 

In case you desire to remove the new wrapper element, you may use the contentElement configuration option of the ListView and set it to an empty string value:

$("#listView").kendoListView({
   contentElement: ""
});

You can find more information regarding the mentioned rendering modifications in the breaking changes article linked below:

Let me know in case you need any further assistance.

Regards,
Zornitsa
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Kendo family, check out our getting started resources
Tags
ListView
Asked by
Christy
Top achievements
Rank 1
Answers by
Zornitsa
Telerik team
Share this question
or