Hi,
If i have the following read attribute in my datasource, what does 'options.error()' do?
read: function(options) {
$.ajax({
url: /*[[@{/accesslevels}]]*/"/planner/accesslevels",
success: function (data) { options.success(data); }
error: function (msg) { options.error(msg); }
});
}
THanks,
GRant
filterable: { multi:
true
, search:
true
}
These options result in a multi-checkbox type filter that includes a search input so that the checkbox labels can be searched.
This search works with a "contains" operator.
Is there a way to set this search to work with a "starts-with" operator instead?
Example:
Looking at the attached screenshot you can see that I have enter the value "li" in the search and my checkbox labels all contain that value, but I would like here is for just the "Livingston" checkbox to be displayed, since "Livingston" starts with "li".
Hi,
Is there a way to capture the mouseover event on the palette?
Matt
Hi,
I am working on gantt somewhat like this: https://dojo.telerik.com/UneJeBOd. All the data is in memory and all changes are to be handled locally and at the end sent to db to save. Now, when the tasks are dragged around to make it as subtask and to change the ordering, how to capture all the tasks that are effected. How for e.g, if Task3 is moved under task2. Task 2 becomes summary task. How to catpure that change?
2. If I move task 3 above task1, the orderid for both task1 and task3 changes, how to capture that.
Thanks
I use below code to remove the selected rows in grid. But every time when I click a button to call this method, it only remove one row, not all selected rows. Am I missing something?
function RemoveRecords() {
var gridAdditive = $("#gridEdit").data("kendoGrid");
gridAdditive.select().each(function () {
gridAdditive.dataSource.remove(gridAdditive.dataItem($(this).closest("tr")));
});
};
I'm searching documentation about kendo Router with pushState=true.
Using the configuration like:
pushState:true
root:"/"
when I use router.navigate always is fired the routeMissing event. Why?
I think that there isn't enought documentation about how to work with pushState.
Should i use navigate with pushState:true or history.pushState?
Can some write some example ?
Thanks
var
router =
new
kendo.Router({
pushState:
true
,
root:
"/"
,
init:
function
(e) {
debugger
},
routeMissing:
function
(e) {
debugger
},
change:
function
(e) {
debugger
}
});
router.route(
"/"
,
function
() {
loadModule(
"/presentacion"
);
});
router.route(
"/previsiones"
,
function
() {
loadModule(
"/controls/prv/prv_listadoPrevisiones"
);
});
Hello,
I’m trying to get query string values for a root route but parameters seems to be undefined.
e.g for url : https://mywebsite.com/?test=hello
thanks for your help.
var
router =
new
kendo.Router();
router.route(
"/"
,
function
(params) {
console.log(params);
// undefined
});
@using Kendo.Mvc.UI
@model IEnumerable<
MvcApplication_KendoTest.Data.Employee
>
<
script
type
=
"text/x-kendo-tmpl"
id
=
"template"
>
<
div
class
=
"employee"
>
<
img
src
=
"${Image}"
/>
<
h3
>${Name} ${Lastname}</
h3
>
</
div
>
</
script
>
<
h2
>@ViewBag.Title</
h2
>
@(Html.Kendo().ListView<
MvcApplication_KendoTest.Data.Employee
>(Model)
.Name("listView")
.TagName("div")
.ClientTemplateId("template")
.DataSource(dataSource => {
dataSource.Read(read => read.Action("Index", "Home"));
dataSource.PageSize(12);
})
.Pageable()
)