Kendo UI Grid wrapper for Vue version 2021.1.33 custom control editor not working

0 Answers 25 Views
Grid
Luis Ismael
Top achievements
Rank 1
Luis Ismael asked on 05 May 2021, 08:53 AM | edited on 05 May 2021, 08:56 AM

update to version 2021.1.33 and this does not work for me.

{ field: 'Order', title: 'Número de orden', width: '100px', editor: function (container, options) {
                        if(options !== undefined) {
                            $('<input data-bind="value:' + options.field + '"/>').appendTo(container).kendoNumericTextBox({
                                format: "#",
                                min: 1,
                                step: 1,
                                decimals: 0
                            });
                        }
                    }},

I show you a picture

Error (Uncaught TypeError: $(...).appendTo(...).kendoNumericTextBox is not a function)
Could you help me

Petar
Telerik team
commented on 10 May 2021, 07:58 AM

Hi Luis Ismael.

Can you try defining the column editor as a separate function in the methods as it is demonstrated in this Custom editor example?  Is the issue replicable on your end using this approach?

To test the suggested approach, I've created this StackBlitz example in which everything seems to be working as expected. Check the linked project and let me know if it helps you resolve the issue in your project

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Luis Ismael
Top achievements
Rank 1
Share this question
or