I have a Kendo UI Grid with a command button column formatted to display a font awesome icon. The grid also handles the change event in order to redirect to the particular records detail page when the row is clicked. The button and icon display as expected but if you click on the button exactly where the icon is the change event get triggered prior to the button click event. Clicking anywhere else on the button causes the button to behave as expected.
Here is an example based on the Use FontAwesome Icons in Kendo UI Grid demo -
Can anyone think of a way around this problem?
Thanks

I have an AngularJS page, and have a populated dataItem. No problem. Now, I would like to populate a dropdown with one of the columns. I can't quite figure out how to do this. Here is my current code. I have hardcoded the dropdown values but would like to populate it instead from the "ticker" column in the dataItem instead. I think this should be super-easy, right?
$scope.positionGridOptions = function(dataItem) { return { dataSource: { type: "xml", transport: { read: function(options) { $.ajax({ url: "http://fraitcf1vd2607.de.db.com:2701/WS_GetPositionsV3?startDate=" + dataItem.filterStart + "&endDate=" + dataItem.filterEnd + "&fiId=" + dataItem.swapId + "&maxRows=1000", dataType: "xml", success: function(result) { options.success(result); }, error: function(result) { options.error(result); } }); } }, schema: { type: "xml", data: "/root/row", model: { fields: { ticker: {field: "@ticker", type: "string" }, longShort: {field: "@longShort", type: "string" }, legId: {field: "@legId", type: "number" }, instrId: {field: "@instrId", type: "number" }, qty: {field: "@qty", type: "number" }, thisDay: {field: "@thisDay", type: "string" } } } }, serverPaging: false, serverSorting: false, serverFiltering: false, pageSize: 20 }, sortable: { mode: "multiple", allowUnsort: true }, height: 200, scrollable: false, sortable: true, groupable: true, pageable: { buttonCount: 4 }, filterable: { extra: false, operators: { string: { startswith: "Starts with", eq: "Is equal to", neq: "Is not equal to" } } }, columns: [ {field: "ticker", title: "Ticker", width: "50px", filterable: {ui: $scope.ticker3Filter} }, {field: "longShort", title: "Long/Short", width: "50px", filterable: false}, {field: "legId", title: "Leg ID", width: "50px", filterable: false}, {field: "instrId", title: "Instr ID", width: "50px", filterable: false}, {field: "qty", title: "Quantity", width: "50px", filterable: false}, {field: "thisDay", title: "Day", width: "50px", filterable: false} ] }; }; // How to get the ticker element for each row in dataItem? $scope.ticker3Filter = function(element) { element.kendoDropDownList({ optionLabel: "--Select Value--", dataSource: ["ABC.AX","AGL.AX","AHD.AX","AHE.AX"] }); } Hey,
i'm using the scheduler component with angular.
The result so far is pretty okay, but the events do not fill up the timeslots. When looking at the event div, there is a fixed width, that is not set correctly. I have no fancy custom css going on, so any idea what causes this issue?
Cheers,
Jens

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.