or
Hi
I am using the following syntax to use a the javascript function for adding a dropdown to a filter within a column of a grid:columns: [ { title: "Typ", field: "FileExtension", width: 50, filterable: { ui: dropDownFilter } }, { title: "Titel", field: "Title", width: 360, filterable: { ui: dropDownFilter } },Within the javascript function "typeFilter" I would like to know the column or better the field of the columnto build a javasript function that can work dynamically for several columns.So is there a way to get the field ("FileExtension") within the javascript function or a way to pass it down to it?function dropDownFilter(element) { element.field ?????}Thanks for your help!Best regards,Pascal Hohensträter
$("#number").kendoNumericTextBox({ format: "c0", decimals: 2, spinners: false});function updateNumber() { var numberBox = $("#number").data("kendoNumericTextBox"); var anothernumberBox = $("#anotherNumber").data("kendoNumericTextBox"); var yetanothernumberBox = $("#yetanotherNumber").data("kendoNumericTextBox"); try { numberBox.value(anothernumberBox.value() - yetanothernumberBox.value()); } catch (err) { // }};