Telerik Forums
Kendo UI for jQuery Forum
1 answer
60 views

I am trying to get my Line Chart to dynamically assert the field text rather than having to explicitly put the field in my remote datasource objects and then state that property as the field in the Line chart series.  

so instead of doing it like 

data = [

{Date: 09/10/2020, English: 88, Math: 99, Science: 45},

{Date: 08/22/2020, English: 76, Math: 90, Science: 95},

{Date: 08/01/2020, English: 70, Math: 80, Science: 75}

]

and LineSeries = [

     {
        field: "English",
        categoryField: "date",
        name: "English",
    },
    {
          field: "Math",
          categoryField: "date",
          name: "Math",
    },
    {
          field: "Science",
          categoryField: "date",
          name: "Science",
     }

]

like in the Line Chart its done in the JQuery Line Chart example to get a seperate line for each subject and a data point for each distinct date. 

Is it possible to instead do

data = [

{Date: 09/10/2020, Subject: "Math", Value: "78" },

{Date: 09/10/2020, Subject: "English", Value: "80" },

{Date: 09/10/2020, Subject: "Science", Value: "65" }

{Date: 08/22/2020, Subject: "Math", Value: "87"},

{Date: 08/22/2020, Subject: "English", Value: "97"},

{Date: 08/22/2020, Subject: "Science", Value: "57"},

]

and something like LineSeries = [ {
        field: "Subject",
        categoryField: "date",
        name: "Subject",
    },
] ? if not is there a seperate way to configure the series to get a seperate line for each subject and a data point for each distinct date?

Nikolay
Telerik team
 answered on 18 Sep 2024
1 answer
48 views

Currently I am trying to create a kendo UI Line chart based on a nested data model that looks like

{

key: "Kelly"

DateValue: [

{Date: 08/07/2020, Grade: 100}

{Date: 09/10/2020, Grade: 82}

] is this possible to create where for each date there is a data point and for each object with a distinct key there is a distinct line that represents that key? 

Nikolay
Telerik team
 answered on 18 Sep 2024
1 answer
114 views

Hi,

Am having difficulty importing data, into a kendo UI spreadsheet, specifically date data as text. Is there a way to bypass the whole OLE date format from the Excell file so I just get a string? and Not that float value in OLE date format? In fact, importing every cell as just a string and not a formatted value (with a format property and a value property)...and just a value would be awesome. 

Thanks again for your help and patience!

George

Martin
Telerik team
 answered on 18 Sep 2024
0 answers
160 views

I have defined following jQuery datagrid column. Users is assoc array of text and value fields.

Without template field, column is correctly displaying users's fullname from values field.

Now I need to change only displayed fullname into the link and therefore, I added template field. Problem is, that I don't know and I didn't find it in documentation, how to parse "modified_by" value into the user fullname (with using of text-value array in values field).

            (new Kendo\UI\GridColumn())
                ->field('modified_by')
                ->title($t->translate('card.grid.modified_by'))
                ->values($users)
                ->filterable($filterableMulti)
                ->width(200)
                ->template('#= (modified_by == null) ? \'\' : \'<a href="' . $this->baseURL . 'profile/\'+modified_by+\'">\'+modified_by+\'</a>\' #')
                ->lockable(true)

Thank a lot for any help!

nodsec
Top achievements
Rank 1
Iron
Iron
 asked on 18 Sep 2024
0 answers
73 views

Hi,

We've using a Form component with an Upload component in it. The validation within the Upload works fine but we'd like to check whether a file has been uploaded and / or selected. The "required" part of the Form validation doesn't seem to trigger when no file is selected. Code provided is an item in the Form.

                    {
                        field: "mailingList",
                        label: "Mailing List",
                        colSpan: 2,
                        editor: function (container, options) {
                            $('<input type="file" name="' + options.field + '" id="' + options.field + '"/>').appendTo(container)
                                .kendoUpload({
                                    async: {
                                        saveUrl: "/rates-notices-campaign/save-attach/" + id,
                                        removeUrl: "/rates-notices-campaign/remove-attach/" + id,
                                        autoUpload: true
                                    },
                                    validation: {
                                        allowedExtensions: [".csv", ".xlsx"]
                                    }
                                });
                        },
                        validation: {
                            required: {
                                message: "Mailing List is required"
                            }
                        }
                    }

 

Thanks

Daniel
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 16 Sep 2024
0 answers
51 views

I am able to sort 1st object (orders1) as below example1 but please let me know is it possible to sort 2nd object same as like  1st object in the kendo grid.

Example 1:

var order1 :Country :'US';  Company:' Ship'

var order2 : Country :  (name: 'US'; id :12; items: {id: 13;  itemname: 'item1'}, {id : 14; itemname: item2} ),  Company: ({ id: 20; idealfor:'oil'; name :''company1' }, { id: 22; idealfor:'metal'; name :''company2' });

 

$(#tablename).kendoGrid({ datasource :order1,

page:6},

sortable:{ mode: 'single', allowunsort:false},

columns:{{ field:'company', title:'company', sortable: { intialditection: 'desc' }, { field:'company', title: 'country'}

}}

})

 

 
Venkat
Top achievements
Rank 1
 asked on 15 Sep 2024
2 answers
123 views

Hi.

In the Spreadsheet controller when a user imports a spreadsheet into the controller either by cutting and pasting, or by using the import button, was wondering if there was a best practice way to either get all the values even if the value  property is undefined or the cell is blank and does not exist in the array of cells for a given row?

I need to ultimately parse the control for the value (and eventually formulas)  then putting them in a string with tab separated cells separated by an end of line character for the rows,  then send it to an API where it is ultimately placed in the data base as a clob.

The problem is when I am doing this, in certain cases if the cell is empty  then it does not exist in cells array for the given row, so when I get my sample data the cells for the row do not line up with the headers, that is to say the cells are missing. If the cells do exist but the value property does not exist, I usually get a  JavaScript undefined value (because the value parameter doesn't exist), and I have to use an OR (||) operator to remove it and replace it with a blank.


The only thing I could think of was to iterate through the spreadsheet grid of the active sheet I am working with like this, using the range....but the user would have to select the range prior to kicking of the parsing job.


When the function is done I should have a string of the results with cells separated by \t and rows ending with \n:


DATA in stringified form: {"data":"ID\tInternational_ID\tLast Name\tFirst Name\tDescription\tAuth Role\tApp Server Type\tImport Type\tTime Zone Code\tApplication Type\t\n101\t\tHall\tJoe\tAssit and Admin\tAdvUser\t\t\t102\tAccounting\t\n102\t\tCallet\tBob\t\tAdmin\t\t\t102\tZooology\t\n103\t\tBaker\tDenny\t\tUser\tTripple Node\t\t109\tEngineering\t\n104\t\tBrewster\tFred\t\tAdvUser\t\t\t102\tProject Tracker\t\n105\t\tTurner\tDenise\t\tExecAdmin\tRegular\t\t115\t\t\n106\t\tZenni\tBee\t\tUser\t\t\t102\tAccounting\t\n107\t\tCook\tCarry\t\tAdvUser\t\t\t102\tEngineering\t\n108\t\tMathews\tHarry\t\tUser\t\tInternational\t102\t\t\n109\t\tDean\tDonny\t\tUser\tRegular\t\t102\tProject Tracker\t\n110\t\tFuller\tJames\t\tAdvUser\tTripple Node\t\t102\tScientific\t\n111\t\tAhrens\tJack\t\tAdmin\tRegular\t\t115\t\t\n112\t\tMikes\tGeorge\t\tUser\tHi Capacity\tLocal\t114\tProject Management\t\n113\t\tJones\tArnie\t\tAdvUser\tRegular\t\t116\t\t\n"}

If I cut and paste the above string into an excel spreadsheet sheet it will show the blank cells..and everything aligns.

If I didn't do this, then some of the cells would not exist, and I would getcells shifting into the wrong columns.

I need to capture even the blank cells and those with value == undefined.

Right now I am scanning the cells using a range for the first cell (probably A1) and also the last one... the user needs to set this before the parsing is done and this is very annoying. Is there an easy way to get the used range of the spreadsheet without the user having to set this?

 

Here is a code snippet of some test code:
https://dojo.telerik.com/@georgeg@pipkins.com/ELelOXuH/5   

1) Import the file using the import file button:

2) Click on the Send Data button but I haven't a clue):

 ... a popup dialog will appear

....and select the range of the cells to be parsed into tab separated values (right now I'd like to figure out the used area automatically, but I haven't a clue).

3) Click the Submit button.

4) Go to console and look at the data:

... you should be able to grab/copy the first bit of data and  paste it into a spreadsheet and get it to align with the columns should be no row shifting.

Then the spreadsheet should look like this:

THE BIG-TICKET ITEM IS: I just want to parse through the cells of the Spreadsheet control once, and without having the user select the range... it would be done automatically. I am just wondering if there isn't an easier, cleaner way to do this? I wish I could send you my test excel spreadsheet it would be easier to constrain what is going on... I sent you a tab separated txt file you should be able to convert that easily to an excel file.

Thanks again for your help and patience!

George

George
Top achievements
Rank 3
Bronze
Bronze
Iron
 updated answer on 13 Sep 2024
0 answers
101 views

Hi,

I am trying to update kendo ui version from 2022.3 to the latest in our old angularJS application.

I followed instructions to build source code as described here:

https://docs.telerik.com/kendo-ui/intro/installation/ecmascript

I am injecting supported version of jquery, order of injections is ok.. there is something else I can't reach.

However, after injecting kendo.all.js (or kendo.all.min.js) and try to run my application, I always get the error shown down.

Any help or suggestion would be helpful.

 

Thank you and regards,

Vedad

Error: [$injector:modulerr] Failed to instantiate module myAngularApp due to:
Error: [$injector:modulerr] Failed to instantiate module kendo.directives due to:
Error: [$injector:nomod] Module 'kendo.directives' is not available! You either misspelled the module name or forgot to load it. If registering a module ensure that you specify the dependencies as the second argument.
http://errors.angularjs.org/1.5.8/$injector/nomod?p0=kendo.directives
at http://localhost:8080/myWebApp/js/lib.js:9882:12
at http://localhost:8080/myWebApp/js/lib.js:11896:17
at ensure (http://localhost:8080/myWebApp/js/lib.js:11820:38)
at module (http://localhost:8080/myWebApp/js/lib.js:11894:14)
at http://localhost:8080/myWebApp/js/lib.js:14431:22
at forEach (http://localhost:8080/myWebApp/js/lib.js:10135:20)
at loadModules (http://localhost:8080/myWebApp/js/lib.js:14415:5)
at http://localhost:8080/myWebApp/js/lib.js:14432:40
at forEach (http://localhost:8080/myWebApp/js/lib.js:10135:20)
at loadModules (http://localhost:8080/myWebApp/js/lib.js:14415:5)
at createInjector (http://localhost:8080/myWebApp/js/lib.js:14337:19)
at doBootstrap (http://localhost:8080/myWebApp/js/lib.js:11572:20)
at bootstrap (http://localhost:8080/myWebApp/js/lib.js:11593:12)
at angularInit (http://localhost:8080/myWebApp/js/lib.js:11478:5)
at HTMLDocument.<anonymous> (http://localhost:8080/myWebApp/js/lib.js:41577:5)
at fire (http://localhost:8080/myWebApp/js/lib.js:3187:31)
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=kendo.directives&p1=Error%3A%20%5B%24injector%3Anomod%5D%20Module%20'kendo.directives'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2F%24injector%2Fnomod%3Fp0%3Dkendo.directives%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A9882%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11896%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11820%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11894%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14431%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14432%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14337%3A19)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11572%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11593%3A12)%0A%20%20%20%20at%20angularInit%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11478%3A5)%0A%20%20%20%20at%20HTMLDocument.%3Canonymous%3E%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A41577%3A5)%0A%20%20%20%20at%20fire%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3187%3A31)
at http://localhost:8080/myWebApp/js/lib.js:9882:12
at http://localhost:8080/myWebApp/js/lib.js:14454:15
at forEach (http://localhost:8080/myWebApp/js/lib.js:10135:20)
at loadModules (http://localhost:8080/myWebApp/js/lib.js:14415:5)
at http://localhost:8080/myWebApp/js/lib.js:14432:40
at forEach (http://localhost:8080/myWebApp/js/lib.js:10135:20)
at loadModules (http://localhost:8080/myWebApp/js/lib.js:14415:5)
at createInjector (http://localhost:8080/myWebApp/js/lib.js:14337:19)
at doBootstrap (http://localhost:8080/myWebApp/js/lib.js:11572:20)
at bootstrap (http://localhost:8080/myWebApp/js/lib.js:11593:12)
at angularInit (http://localhost:8080/myWebApp/js/lib.js:11478:5)
at HTMLDocument.<anonymous> (http://localhost:8080/myWebApp/js/lib.js:41577:5)
at fire (http://localhost:8080/myWebApp/js/lib.js:3187:31)
at Object.fireWith [as resolveWith] (http://localhost:8080/myWebApp/js/lib.js:3317:7)
at Function.ready (http://localhost:8080/myWebApp/js/lib.js:3536:13)
at HTMLDocument.completed (http://localhost:8080/myWebApp/js/lib.js:3552:9)
http://errors.angularjs.org/1.5.8/$injector/modulerr?p0=myAngularApp&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20Failed%20to%20instantiate%20module%20kendo.directives%20due%20to%3A%0AError%3A%20%5B%24injector%3Anomod%5D%20Module%20'kendo.directives'%20is%20not%20available!%20You%20either%20misspelled%20the%20module%20name%20or%20forgot%20to%20load%20it.%20If%20registering%20a%20module%20ensure%20that%20you%20specify%20the%20dependencies%20as%20the%20second%20argument.%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2F%24injector%2Fnomod%3Fp0%3Dkendo.directives%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A9882%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11896%3A17%0A%20%20%20%20at%20ensure%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11820%3A38)%0A%20%20%20%20at%20module%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11894%3A14)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14431%3A22%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14432%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14337%3A19)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11572%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11593%3A12)%0A%20%20%20%20at%20angularInit%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11478%3A5)%0A%20%20%20%20at%20HTMLDocument.%3Canonymous%3E%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A41577%3A5)%0A%20%20%20%20at%20fire%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3187%3A31)%0Ahttp%3A%2F%2Ferrors.angularjs.org%2F1.5.8%2F%24injector%2Fmodulerr%3Fp0%3Dkendo.directives%26p1%3DError%253A%2520%255B%2524injector%253Anomod%255D%2520Module%2520'kendo.directives'%2520is%2520not%2520available!%2520You%2520either%2520misspelled%2520the%2520module%2520name%2520or%2520forgot%2520to%2520load%2520it.%2520If%2520registering%2520a%2520module%2520ensure%2520that%2520you%2520specify%2520the%2520dependencies%2520as%2520the%2520second%2520argument.%250Ahttp%253A%252F%252Ferrors.angularjs.org%252F1.5.8%252F%2524injector%252Fnomod%253Fp0%253Dkendo.directives%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A9882%253A12%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11896%253A17%250A%2520%2520%2520%2520at%2520ensure%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11820%253A38)%250A%2520%2520%2520%2520at%2520module%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11894%253A14)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A14431%253A22%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A10135%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A14415%253A5)%250A%2520%2520%2520%2520at%2520http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A14432%253A40%250A%2520%2520%2520%2520at%2520forEach%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A10135%253A20)%250A%2520%2520%2520%2520at%2520loadModules%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A14415%253A5)%250A%2520%2520%2520%2520at%2520createInjector%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A14337%253A19)%250A%2520%2520%2520%2520at%2520doBootstrap%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11572%253A20)%250A%2520%2520%2520%2520at%2520bootstrap%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11593%253A12)%250A%2520%2520%2520%2520at%2520angularInit%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A11478%253A5)%250A%2520%2520%2520%2520at%2520HTMLDocument.%253Canonymous%253E%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A41577%253A5)%250A%2520%2520%2520%2520at%2520fire%2520(http%253A%252F%252Flocalhost%253A8080%252FmyWebApp%252Fjs%252Flib.js%253A3187%253A31)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A9882%3A12%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14454%3A15%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14432%3A40%0A%20%20%20%20at%20forEach%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A10135%3A20)%0A%20%20%20%20at%20loadModules%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14415%3A5)%0A%20%20%20%20at%20createInjector%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A14337%3A19)%0A%20%20%20%20at%20doBootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11572%3A20)%0A%20%20%20%20at%20bootstrap%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11593%3A12)%0A%20%20%20%20at%20angularInit%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A11478%3A5)%0A%20%20%20%20at%20HTMLDocument.%3Canonymous%3E%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A41577%3A5)%0A%20%20%20%20at%20fire%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3187%3A31)%0A%20%20%20%20at%20Object.fireWith%20%5Bas%20resolveWith%5D%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3317%3A7)%0A%20%20%20%20at%20Function.ready%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3536%3A13)%0A%20%20%20%20at%20HTMLDocument.completed%20(http%3A%2F%2Flocalhost%3A8080%2FmyWebApp%2Fjs%2Flib.js%3A3552%3A9)
at http://localhost:8080/myWebApp/js/lib.js:9882:12
at http://localhost:8080/myWebApp/js/lib.js:14454:15
at forEach (http://localhost:8080/myWebApp/js/lib.js:10135:20)
at loadModules (http://localhost:8080/myWebApp/js/lib.js:14415:5)
at createInjector (http://localhost:8080/myWebApp/js/lib.js:14337:19)
at doBootstrap (http://localhost:8080/myWebApp/js/lib.js:11572:20)
at bootstrap (http://localhost:8080/myWebApp/js/lib.js:11593:12)
at angularInit (http://localhost:8080/myWebApp/js/lib.js:11478:5)
at HTMLDocument.<anonymous> (http://localhost:8080/myWebApp/js/lib.js:41577:5)
at fire (http://localhost:8080/myWebApp/js/lib.js:3187:31)
at Object.fireWith [as resolveWith] (http://localhost:8080/myWebApp/js/lib.js:3317:7)
at Function.ready (http://localhost:8080/myWebApp/js/lib.js:3536:13)
at HTMLDocument.completed (http://localhost:8080/myWebApp/js/lib.js:3552:9)
Vedad
Top achievements
Rank 3
Bronze
Bronze
Iron
 asked on 12 Sep 2024
0 answers
115 views

I am running into an issue with allowing copy/paste of dates into the filter and cell input fields. Currently, the date fields have validation to support MM/dd/yyyy, and users of the app may be trying to copy dates in that are MM/dd/yy. I would expect Kendo to auto format the date to MM/dd/yyyy after the paste happens, or at least allow support for that, but it doesn't seem to happen.

In the cell, when putting in MM/dd/yy, a validation message appears saying the date is invalid, and there doesn't appear to be a way to override that. In the filter, when putting in MM/dd/yy and submitting the filter, it doesn't stick and completely ignores the date put in.

Is there any way with the latest version of Kendo (I am on 16) to allow for different date formats in these fields, or is there the possibility that this is something coming in the future?

1 answer
132 views

I use the upload widget in a long-running web app to allow picture upload.

Over the years, the number and size of pictures have increased.

I compress property in the upload widget would be great, however, short of this, has anyone played around with compressing images in the browser in connection with using the upload widget?

/Morten

Georgi Denchev
Telerik team
 answered on 11 Sep 2024
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?