Which event can I hook into in order to run custom code before a KendoGrid FilterMenu opens every time?
There is an event that runs once before it opens (filterMenuInit) and an event that runs every time after the menu opens (filterMenuOpen), but I need the third kind, which runs every time before opening.
Hi, I want to send data for json format.
This is my data format.
data = {models: Array(1)}, type = "update....
I want to send data like this.
data = {foo: 'bar', locale: 'en', name: 'test', description: '1', ...}
This data is same as {models:Array(1)} 's array.
My code is here. I used parameterMap to data format for change.
parameterMap: function (data, type) { if (type === "update") { debugger; return kendo.stringify(data.models[0]); } return kendo.stringify(data); }
But when sending data, DataSource.transport.update send another data like this.
var users = new kendo.data.DataSource({ transport: { update: { contentType: contentType, url: function (options) { return base_api_url_manage_users + "info/" + options.models[0].userId ; }, type: "PUT", },
They send this format.
data = {models: Array(1)}, type = "update....
I want to send data form as Objcet, not as Object in Array. How can I change this data format???
Please help me.
Thank you.
I have been working on the FileManager control with Kendo using jQuery & it feels very slow in initial loading when the file count increases to 5000+. I tried searching for custom paging, lazy loading, etc. for FileManager but no help. Do anyone knows how to achieve it? Any help will be highly appreciated.
Thanks.
Hello,
I'm experiencing the following error, when I try to use "fromFile" function to load the data for a spreadsheet component from an excel file:
"The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide."
The problem seems to be in the version of JSZip library, which the component uses. I manually changed the version of "JSZip" script to 2.6 and it works fine, but I want to know how to do it using the latest version of the spreadsheet component and the latest version of "JSZip". I used the same file in the demo page in your site and it works fine there. The version of kendo is "2020.1.406".
How to How to use it as Json data type or local databing in kendoPivotGridV2 datasource
Is there an example that you can refer to?
Hi, we have an issue with the custom download and the new version 2022.1.119.
https://www.telerik.com/download/custom-download
When we hit "select all" on "framework" and "web", and we copy-paste the generated scripts, 4 of them have errors, and nothing works.
Look at this on the dojo
https://dojo.telerik.com/@foxontherock/OyuziJuc
Errors:
Uncaught TypeError: Cannot read properties of undefined (reading 'renderCheckBox')
Uncaught TypeError: Cannot read properties of undefined (reading 'renderButton')
Uncaught TypeError: Cannot read properties of undefined (reading 'renderRadioButton')
Uncaught TypeError: Cannot read properties of undefined (reading 'common')
$(function () { var viewModel = kendo.observable({ selectedDate: new Date(), }); kendo.bind($("#change-date-collection1"), viewModel) $("#change-date-collection1").kendoValidator({ rules: { // Implement your custom date validation. dateValidation: function (input, params) { if (input.is("[name='date']") && input.val() != "") { var date = kendo.parseDate(input.val(), "dd/MM/yyyy"); if (date) { return true; } return false; } return true; } }, messages: { //custom rules messages // Return the message text. dateValidation: "Not a valid date in dd/MM/YYYY format!", } }); })
I am trying to use the kendo numeric text box (jquery), however I'm having an issue. I'm using the text box to collect the user's year of birth. This can realistically be a value between 1902 and 2022 (the current year). I set the min to 1902 and the max to 2022. The user can also choose to leave this field blank and not provide a year of birth. When a user types 19 into the field it changes it to 1902. I don't want this as the likelihood that the user's year of birth is actually 1902 is very small. Instead I would like it to blank the field out. I have tried getting rid of the min and max values but then the up/down arrows become virtually useless since the user would have to click up 1,902 times just to get to a valid value. How can I keep the up arrows starting at 1902 and ending at 2022 while also not having kendo change the value to the min or max?
I have seen a few other posts on the topic that are old and the issue was never properly addressed.