Hi
I have the following scenario:
I thinks the back button presents the kendo grid starting again from page 1, so the edited record is not in the current page anymore
Questions
If it cannot not be accomplished with native kendo grid behaviour what are your suggestions for the right implementation ? ( virtual scrolling ?)
thanks
Hello,
I found this helpful example on exporting multiple charts to PDF:
http://demos.telerik.com/kendo-ui/pdf-export/index
We have the need to put in a header and footer in our PDF. Is it possible to do that?
Here is our code:
$(document).on("click", "#btnPdf", function () {
// Convert the DOM element to a drawing using kendo.drawing.drawDOM
kendo.drawing.drawDOM(".my-results-page-container")
.then(function (group) {
// Render the result as a PDF file
return kendo.drawing.exportPDF(group, {
});
})
.done(function (data) {
// Save the PDF file
kendo.saveAs({
dataURI: data,
fileName: "My Test PDF.pdf"
});
});
});
We use the drawDOM function. Is it possible to use a pageTemplate? If so, I can't find any documentation on that subject...can someone help?
Thank you!
Hello,
I'm trying the Kendo UI #Jquery and I'm having one problem with two grids on a single page. The two grids use the same model, but different and values. When I filter one column of grid1 using native filters, the same filter is applied to grid2. How can I stop this behavior?
Hi,
I've created a custom theme based on Blue Opal, but when I use it, my web console prints an error. It only prints when the custom theme is included (either alone or after the blueOpal css import).
jquery.min.js:4 GET http:
//localhost:8080/planner/public/css/kendoUI/none/sprite.png 404 ()
Please Advise,
Grant.
PS. How do I get my cursor out of this code block?
<!DOCTYPE html>
<
html
>
<
head
>
<
title
></
title
>
<
link
href
=
"http://cdn.kendostatic.com/2012.3.1114/styles/kendo.common.min.css"
rel
=
"stylesheet"
/>
<
link
href
=
"http://cdn.kendostatic.com/2012.3.1114/styles/kendo.default.min.css"
rel
=
"stylesheet"
/>
<
link
href
=
"http://cdn.kendostatic.com/2012.3.1114/styles/kendo.mobile.all.min.css"
rel
=
"stylesheet"
/>
<
script
src
=
"http://code.jquery.com/jquery-1.8.2.min.js"
type
=
"text/javascript"
></
script
>
<
script
src
=
"http://cdn.kendostatic.com/2012.3.1114/js/kendo.all.min.js"
type
=
"text/javascript"
></
script
>
</
head
>
<
body
>
<
div
data-role
=
"view"
>
<
a
data-role
=
"button"
href
=
"#foo"
data-rel
=
"modalview"
>This triggers logTarget</
a
>
<
a
data-role
=
"button"
data-click
=
"open"
>This does not trigger logTarget</
a
>
<
div
id
=
"console"
></
div
>
</
div
>
<
div
data-role
=
"modalview"
id
=
"foo"
data-open
=
"logTarget"
>
This is a simple modal view
</
div
>
<
script
>
$(function(){
new kendo.mobile.Application();
});
function open(e) {
var modalView = $('#foo').data('kendoMobileModalView');
modalView.open();
}
function logTarget(e) {
$('#console').append('logTarget Triggered');
}
</
script
>
</
body
>
</
html
>
How can I do image preview when I select multiple images and set async.batch = true (and async.autoUpload = false)? I can only see the last image.
I can do image preview correctly when async.batch = false.
Thanks.
Do you have a document describing all of event object's properties?
For example for the upload event, I find this in your example:
function onUpload(e) { e.sender.options.async.saveUrl = "save?id" + 1;}
But how do I know that e has a property called sender?
I basically want my combobox to have the option of searching between two sources, and able to switch between them with a click of a button contained in the footer template. I almost got it working but have some problems. Please see:
https://dojo.telerik.com/Esibiy
I can switch the data source and get the results to display, however the problems are:
1) Button text does not stay changed, if you comment out the .setDataSource() in switch search, then the button text is preserved and switches between Local and Global. But calling .setDataSource() seems to load the template again, though the span accompanying it does not change. I tried setting the footer template in switchSearch with:
widget.footerTemplate = $("#alternativeTemplate").html(); but that didn't work.
2) If I type Kiwi, which has no result in local search, and click Global search to switch data source, the filtering does not apply, even though I would like it to because I have entered something in the textbox already.
How can I make this work? Thanks.