Hi,
We're not sure if this is a bug or feature.
Using ListView and the method setDataSource with the built-in paging. The ListView appears to change data sources but the paging doesn't. Tried using the refresh() method but same result.
We worked around it by using the Pager widget and ListView without the bulit-in paging and this seems to work okay.
It's not a problem. Just found it weird that we do the same for a Grid on the same page using the method setDataSource and the data source changes okay along with the paging.
Any thoughts?
Thanks// First load
var dataSourceListView = new kendo.data.DataSource({
data: dataSource,
pageSize: 8
});
$("#listView").kendoListView({
dataSource: dataSourceListView,
dataBound: function () {
},
template: kendo.template($("#template").html()),
pageable: true
});
// Not first load
$("#listView").data("kendoListView").setDataSource(dataSourceListView);
//$("#listView").data("kendoListView").refresh();
Hello
I would like to use jQuery ListView to display products for an eshop solution.
Is it possible to nest a jQuery Rating Widget inside the ListView template and set the value when binding the data to the ListView?
I use ASP.Net Core with RazorPages.
Thank u for ur support!
I've reviewing the code Binding to remote data example for the ListView control. There's some HTML which I don't understand. It might be some HTML5 code snippets I'm unaware of, or it might be something specific to Kendo UI for jQuery. In any case I'm sorry for my ignorance.
Here's a compact example from I'm referring to:
<script type="text/x-kendo-template" id="template">
<div class="product">
<img src="../content/web/foods/#= ProductID #.jpg" alt="#: ProductName # image" />
<h3>#:ProductName#</h3>
<p>#:kendo.toString(UnitPrice, "c")#</p>
</div>
</script>
In the code snippet the src attribute has "../content/web/foods/#= ProductID #.jpg" and the alt attribute has "#: ProductName # image". I get that there's a substitution going on, but I don't understand why the src attribute using #= and the alt attribute doesn't. Why does it use #: ?
What's the difference between the two and when do you use one other the other?
We're still getting used to using Telerik's Kendo UI for jQuery. So far, we've only used one component, AutoComplete. Which works great, BTW!
There's something we'd like to do, but don't know how to do. On an ASP.NET MVC Core page (.NET 6) we want to be able to allow the user to enter multiple items of the same type. It seems like either the Grid or ListView Kendo components would work. Personally, I'm favoring the ListView. But we also need to use AutoComplete work when the user is entering values to a new row. So, for example, we need to collect LotNumber and ProgramName, multiple times, because there can be and often is, multiple items to be entered, along with other details on the same page. I've looked at the ListView component, the Add method, etc. In the example given, it references an identified (by using the HTML id property) control on the page. So, how does one apply AutoComplete to both LotNumber and ProgramName, when entering a new LotNumber/ProgramName pair in a ListView?
Hi team,
Seems listview is no more in SASS theme builder!
Furthermore, when creating custom css with theme builder, I get duplicate lines (typography and utils) in file.scss !?
Please advise...
Best regards,
Laurent.
Good afternoon
I am trying to amend the code in this article so that I can achieve the following:
1. Ability to remove items from the #newlist once they have been dropped
- I cannot for the life of me get the template functionality to work with the kb code so I must be missing something somewhere.
2. I am also unsure how to stop adding the same item repeatedly to the #newlist.
Any advice or pointers, gladly received.
Hello,
I'm new here and I'm trying to figure out how can I drag and drop from a Grid to a TreeView
I found this example http://dojo.telerik.com/eWIgu/2
It's something like this what I want to do, but in the example I can't put an element in a certain node of the TreeView, I just add elements to the data source. So how can I do that? I need your help
PS. I also want to do this with a listbox instead of a grid. That's possible?