I have a grid that I'm filling with the results of a REST API call. The grid should have a dynamic button that renders based on the status in the results.
The API is actually sending a valid link so but when I try to display the result in a column it renders as text is there a trick to this?
Example result that is not rendering as a button just as text. For the field
Properties.AppointRetire
<a href="/Governance/Forms/Staff/Retire.aspx?ID=9526295&OfficeHolderID=9526744&SEQN=170" class="TextButton">Retire</a>"
CODE:
function fillgrid(parsedPayload) {
$("#grid").kendoGrid({
dataSource: {
data: parsedPayload,
pageSize: 15,
},
columns: [
{ field:"Properties.DivisionBranch", title: "Division - Branch", width: 300 },
{ field:"Properties.FirstName", title: "First Name", width: 200 },
{ field: "Properties.LastName", title: "Last Name", width: 200 },
{ field: "Properties.Appointed", title: "Appointed", type: "date", format: "{0:dd/MM/yyyy}" },
{ field: "Properties.GoverningCommittee", title: "Governing Committee", width: 300 },
{ field: "Properties.Office", title: "Office", width: 200 },
{ field: "Properties.Occupation", title: "Occupation", width: 200 },
{ field: "Properties.Status", title: "Office <br />Status", filterable:false, width:80 },
{ field: "Properties.AppointRetire", title: " ", filterable:false, width:100 }
],
filterable: {
mode: "row",
operators: {
string: {
contains: "Contains"
}
}
},
toolbar: ["excel", "pdf", "search"],
excel: {
filterable: false
},
sortable: true,
pageable: {
pageSizes: [10, 20, 50, "all"],
buttonCount: 15
}
});
}Hello
We have an application where new kendo window opens from a hyper link on a child pop up from the parent window. when the new window is closed and the child pop up is closed , some of the buttons on the parent window does not work they just gets frozen. Please advise how can we fix this. I tried many options...
Note : the new window has a splitter, we used Kendo splitter.
When i click button, it gives " Uncaught TypeError: Cannot read properties of undefined" in the console
Hi team,
This dojo to illustrate the problem: https://dojo.telerik.com/inukEneV
In this dojo, i want to export selected rows to excel with exportSelectedToExcel(true). Rows are selected by clicking checkboxes.
What I experience:
- Column headers are duplicated in excel file, one for each row when selecting row with checkboxes. When selecting rows by dragging the mouse (not clicking the checkbox), it seems to work. (screenshot 1)
- Many times, when selecting rows by clicking checkbox mixed with dragging mouse to select, I can get an excel file with rows that were not selected! (screenshot2) Quite strange.
Please advise,
Best regards,
Laurent.
How to leave the NumericTextBox format in Brazilian Portuguese? I already left it that way but it doesn't work, returns the error:
<template>
<div class="example-wrapper row">
<div class="col-xs-12 col-sm-6 example-col">
<localization :language="'pt-br'">
<intl :locale="'pt-br'">
<p>NumericTextBox</p>
<numerictextbox :default-value="123.45" :format="'c'">
</numerictextbox>
<p>Slider</p>
<slider
:buttons="true"
:step="1"
:default-value="7"
:min="1"
:max="10"
>
</slider>
</intl>
</localization>
</div>
</div>
</template>
<script>
import {
IntlProvider,
load,
loadMessages,
LocalizationProvider
} from "@progress/kendo-vue-intl";
import { NumericTextBox, Slider } from "@progress/kendo-vue-inputs";
import likelySubtags from "cldr-core/supplemental/likelySubtags.json";
import currencyData from "cldr-core/supplemental/currencyData.json";
import esNumbers from "cldr-numbers-full/main/es/numbers.json";
import esCurrencies from "cldr-numbers-full/main/es/currencies.json";
load(likelySubtags, currencyData, esNumbers, esCurrencies);
import esMessages from "./es.json";
loadMessages(esMessages, "es");
export default {
components: {
numerictextbox: NumericTextBox,
slider: Slider,
intl: IntlProvider,
localization: LocalizationProvider
}
};
</script>
How to add upload widget inside form widget.
Like the combobox in the sample of forms. I need to put upload file inside the form.
thanks.
Hi all,
Is it possible to disable en hide the treeview in filemanger?
Greetings Maxime
Hi,
in Kendo Spreadsheet cell, when it's in editing, the backspace button doesn't work to cancel cell content;
any idea to resolve it?
