Hello :)
Maybe it's possible but I didn't found it.
Is it possible to keep the settings when I make a custom building
Useful when
- I add a new component to my project => I don't have to remember all previous components used, just adding the new one
- I upgrade the version of kendo ui
Thank you !
Serge
How do I add on change event to Multiselect and calling AngularJS function? Thanks.
$scope.typeOptions = {
placeholder: "All Types",
dataTextField: "Name",
dataValueField: "ID",
valuePrimitive: true,
autoBind: false,
dataSource: {
transport: {
read: {
url: "api/facilitytype",
}
}
}
};
Hello, I am trying to export a document using pdf export feature.
Tests I am doing in on a single three pages html file wich contents are text.
I have used this function:
function getPdf(){ kendo.drawing.drawDOM($("#temp-container"), { paperSize: "A4", margin: { left: "0cm", top: "1cm", right: "0cm", bottom: "1cm" }, template: $("#page-template").html() }).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: "HR-Dashboard.pdf", proxyURL: "http://demos.telerik.com/kendo-ui/service/export" }); }); }I have created this dojo that creates header and footer, but header is overlapping contents
if I add:
#temp-container{ top:100px; bottom:100px; position:absolute; }In the style, contents are cut in the bottom.
Any suggestions?
I've got a grid that I am creating from an existing HTML table.
One column contains a link:
<tr> <td><a href="/Something/1">7</a></td></tr><tr> <td><a href="Something/2">3</a></td></tr>I want that column to be sortable by the text of the cell (in the above example, the values 7 and 3. String or number formatting would be acceptable. But it appears to be sorting by the entire link (so everything inside of the <td></td> tags, including the anchor tag and the url). So it ends up sorting by the Url because that's the first place each one is differentiated.
I made a jsfiddle that shows this in action: https://jsfiddle.net/6vhpennv/
In DataTables.net, I can do this easily with HTML5 attributes:
<tr> <td data-order="7"><a href="/Something/1">7</a></td></tr><tr> <td data-order="3"><a href="Something/2">3</a></td></tr>Is there an equivalent to that in Kendo? Or do I need to write some sort of complex parser (for the dataSource parser function) that can parse out the value from the whole anchor tag?
For almost 2 years, we have been running a page that has a Kendo Tab Strip with some Kendo Grids below that will show or hide based on the selected tab. The data source for each is defined with as a property of the grid. It is the same for all grids, with filters that get passed to switch which data comes back.
Starting with SP1 and still an issue in SP2, the last tab's filter is what filters every time, no matter what tab we are on. The grids are still switching correctly, so that doesn't appear to be the issue.
This is where we set the filters:
$("#vDrafts").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "NotSubmitted" };$("#vPending").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "AwaitingApproval" };$("#vApproved").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "ApprovedVouchers" };$("#vRejected").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "RejectedVouchers" };$("#vPosted").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "PostedVouchers" };$("#vAll").data("kendoGrid").dataSource.transport.options.read.data = { list: "mine", tab: "AllVouchers" };$("#vDrafts").data("kendoGrid").dataSource.read();Do you need more information? A former co-worker created it about 2 years ago, and we haven't changed the code since, so there might be other details that you would need...
Is there something that has to be done differently after SP1?
I seem to have found a bug, or else I'm going something wrong that I can't figure. It seems as if the `position` property of the window configuration is completely ignored when using a template. I have made a simple example to show this:
http://dojo.telerik.com/AkiwE
Even though the grid editable has `window: { position: { top: 0, left: 0} } `, the popup window still appears in the middle of the page.

Hello,
I currently have a scheduler that contains three custom timeline views, each with a different number of days, major tick, and minor tick count. I want to dynamically change the tick values, but only for one view at a time. I am aware of the scheduler.setOptions method, however that will apply the update across all views. When I try scheduler.view().setOptions, the changes made will undo when I refresh the view. Is there any way to change the options for a custom view? Thanks!
I've created a grid with "save" and "create" buttons in the toolbar. Configured data source properly. Now when I hit "Add new record" I see empty row added to the top of the grid. That's fine, I can edit all cells, but one-by-one. When I want to fill out a cell to specify attribute value I have to click on the cell before to put it into edit mode! That's very inconvenient, it would be much easier if all of them were already in edit mode.
Is it possible to have all grid cells shown in edit mode when new record is added?

Hi
MVC 5.1 has a simple and elegant solution for Enum's and DropDownList
@Html.EnumDropDownListFor(model => model.MyProp )
This populates the list, it works with the [Range] DataAnnotation, and also works if the model value is NULL. More importantly it selects the item in the list based on the Model value out-of-the-box.
Trying to do this with Kendo is a lot more involved and messy right?
So can we please have a Kendo.EnumDropDownListFor please to match?
Thank you :-)
