HI,
I'm missing the changeLoadingMessage method in the definition file:
class Application extends Observable {
options: ApplicationOptions;
router: kendo.Router;
pane: kendo.mobile.ui.Pane;
constructor(element?: any, options?: ApplicationOptions);
init(element?: any, options?: ApplicationOptions): void;
hideLoading(): void;
navigate(url: string, transition?: string): void;
replace(url: string, transition?: string): void;
scroller(): kendo.mobile.ui.Scroller;
showLoading(): void;
view(): kendo.mobile.ui.View;
}
Kind regards,
Marco
Hi, I have a grid with column templates where each column hold two or more values.I'm trying to achieve 'in cell' edit for such templates.
I would like to request if post any sample here to achieve in cell editing for a column template.I'm attaching a snapshot of how my grid looks like. Thanks
How to group only one field?
When I group an item I want to disable the grouping of other fields.
Hello. I noticed a bug where the validation message does not disappear for the mobile switch, but does for a regular switch.
Dojo: http://dojo.telerik.com/ISuvI
Can you fix this please?
I'm having some trouble getting my nested listview to sort properly(child listview). I want to be able to sort each listview individually.
<div class="mainsortable">
@(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Product>()
.Name("listView")
.TagName("div")
.ClientTemplateId("template")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("ProductGrid_Read", "ListView"));
dataSource.PageSize(21);
})
.Pageable()
)
@(Html.Kendo().Sortable()
.For("#listView")
.Filter(">div.product")
.Cursor("move")
.PlaceholderHandler("placeholder")
.HintHandler("hint")
//.Events(events => events.Change("onChange"))
)
</div>
<script type="text/x-kendo-tmpl" id="template">
<div class="product">
<div class="panel panel-default">
<div class="panel-heading">#=ProductID# #:ProductName#</div>
<div class="panel-body">
<div class="partialsortable">
@(Html.Kendo().ListView<KendoUI_MVC.ViewModel.Order>()
.Name("OrderlistView_#=ProductID#")
.TagName("div")
.ClientTemplateId("ordertemplate")
.DataSource(dataSource =>
{
dataSource.Read(read => read.Action("Order_Read", "ListView", new { ProductID = "#=ProductID#" }));
dataSource.PageSize(21);
})
//.Pageable()
.ToClientTemplate()
)
@(Html.Kendo().Sortable()
.For("#OrderlistView_#=ProductID#")
.Filter(">div.order")
.Cursor("move")
.PlaceholderHandler("placeholder")
.HintHandler("hint")
.ToClientTemplate()
)
</div>
</div>
</div>
</div>
</script>
<script type="text/x-kendo-tmpl" id="ordertemplate">
<div class="order">
Unit Price : #:UnitPrice#<br />
Quantity : #:Quantity#<br />
Discount : #:Discount#
</div>
</script>
<script>
function placeholder(element) {
return element.clone().addClass("placeholder");
}
function hint(element) {
return element.clone().removeClass("k-state-selected");
}
</script>
.
bold sortable controller does not working
I'm having an issue where even in the simplest Kendo UI MVC 5 application I can not see the results of Kendo widgets. I tried using the simple datapicker widget and I don't see the icon to pick the date. And with this autocomplete widget. When uploaded, I don't see a text box to type into.
@using Kendo.Mvc.UI
@{
ViewBag.Title = "HomePage";
}
@{
var countries = new String[] {
"America",
"Ansonia",
"Latvia",
"Italy",
"Lithuania"};
}
<br/>
<br />
<br />
<br />
<div>
@{Html.Kendo().AutoComplete()
.Name("myAutoCompletion")
.Placeholder("Country")
.BindTo(@countries);
}
</div>
Hello,
In my application (Dynamics 365), I added many Kendo Grid (using TypeScript and C# WCF as Backend). I'd like to implement a general dynamic functionnality of server filtering (because I use paging on read request, so it must be filtered on server side).
Firstly, I'd like to know how to implement exactly a server filtering of data source. In my backend function, I have the DataSourceRequest parameter, I added serverFiltering:true to my DataSource definition in TS. But I think that I miss something here, particularly the filter parameters on the data source (JSON format right?). Something like this:
{
"take":10,
"skip":0,
"page":1,
"pageSize":10,
"filter":{
"filters":[
{
"field":"Column1",
"operator":"eq",
"value":"val1"
},
{
"field":"Column1",
"operator":"eq",
"value":"val2"
},
{
"logic":"or",
"filters":[
{
"field":"Column2",
"operator":"eq",
"value":5
},
{
"field":"Column2",
"operator":"eq",
"value":1
}
]
}
],
"logic":"and"
},
"group":[
]
}
How it can be done?Should I check if filtering is applied every column of my grid and what is the filter? And I guess that once the filter passed, I will be able to read it on the parameter passed to the backend function (request.Filters).
I'm newbie on Kendo, so I'll appreciate a detailed answer with full example if possible.
Thank you.
Moshe.