Telerik Forums
Kendo UI for jQuery Forum
3 answers
402 views

Could you please suggest how to display the MultiViewCalendar with Classic Component style like[The month needs be present in between the left and right arrow]?

Also when the View is defined as 1, is it possible to display Month header as like "March 2020" instead of "March 2020 - March 2020".

Tsvetomir
Telerik team
 answered on 27 May 2020
3 answers
293 views

Hi there,

I use an upload template with a progress bar <span class='k-progress'></span>. How can I make it accessible for a screen reader?

I want to add aria-attributes like so <span class='k-progress' role="progressbar" aria-valuemin="0" aria-valuemax="100" aria-valuenow=??? ></span>.

But the problem is, how to set aria-valuenow. How do I get the current upload percentage?

Best, Max

Nencho
Telerik team
 answered on 27 May 2020
9 answers
1.1K+ views

I'm building my form dynamically and it can have checkboxes, textboxes, radio buttons, etc. is it possible to connect the validator to those dynamically? Each control will have [required] attach to it, if it's set as a required field by the users when building the form.

so for example:

<div id="container">
 <input type="text' id="new" required/>
 
<br>
<select id="ddSalesman" >
   <option>select one</option>
</select>
 
<input type="checkbox" id="NewOrUsed" required>
</div>

and so on, is there a way to connect the validator to these controls when the users clicks the button?

Petar
Telerik team
 answered on 26 May 2020
1 answer
205 views

I noticed breaking style changes in our code and realized that some html has changed, and some class assignments may have been removed in the latest Kendo version 2020.2.513.

For example, in 2020.1.406, the windows have the k-header class:

<div class="k-window-titlebar k-header" style="margin-top: -42px;"><span class="k-window-title">Table Wizard</span><div class="k-window-actions">

 

But in 2020.2.513, this class is gone:

<div class="k-window-titlebar" style="margin-top: -42px;"><span class="k-window-title">Table Wizard</span><div class="k-window-actions">

 

Another example, the editor toolbar buttons have changed from anchors to buttons:

2020.1.406:

<a tabindex="0" role="button" class="k-tool k-group-start k-group-end k-state-hover" unselectable="on" title="Table Wizard" aria-label="Table Wizard"><span unselectable="on" class="k-tool-icon k-icon k-i-table-properties"></span></a>

2020.2.513:

<button tabindex="0" role="button" class="k-button k-tool k-group-start k-group-end k-state-hover" title="Table Wizard" aria-label="Table Wizard" unselectable="on"><span class="k-icon k-i-table-properties"></span><span class="k-tool-text k-button-text">Table Wizard</span></button>

 

As this is causing many display issues with our code and automation testing, is there a list of these breaking changes somewhere?

Thanks, Bob

Martin
Telerik team
 answered on 26 May 2020
1 answer
130 views

https://dojo.telerik.com/izIzuWuc/4

Click the button under it, tooltip hides. Click the button in the tooltip, it does not hide.

What I need:

 - AutoHide = TRUE - Need to hide on lost focus (it's false in this example)
 - Hide when clicking an option inside the tooltip itself

Petar
Telerik team
 answered on 26 May 2020
2 answers
538 views

Hi, Dev Team!

What is the best way to show data in column (numbers from 0 to 5) as rating with ability to change it? Thanks!

 

For grid data i use kendo.data.DataSource()

Nikolay
Telerik team
 answered on 26 May 2020
1 answer
3.5K+ views

Hi All,

I'm getting error "Uncaught TypeError: e.slice is not a function" on my Grid.

 

$("#gridGroupUser").kendoGrid({
     dataSource: {
         transport: {
             read: {
                 url: "https://...",
                 dataType: "json",
             }
         },
     },
     schema: {
         // The data to which the DataSource will be bound is in the "list" field of the response.
         data: "results"
     },
     height: 370,
     groupable: false,
     sortable: true,
     columns: [{
         selectable: true,
         width: 33
     }, {
         template: "<div class='user-email'><span class='k-icon k-i-user'></span> #: email #</div>",
         field: "email",
         title: "Email",
         width: 200
     }, {
         field: "firstName",
         title: "First Name",
         width: 100
     }, {
         field: "lastName",
         title: "Last Name",
         width: 100
     }, {
         field: "status",
         width: 100
     }]
 });

 

Data:

{"results":[{"userNumber":1087,"userId":"1087@noemail.com","email":"1087@noemail.com","firstName":"F1087","lastName":"L1087","status":"ACTIVE (LOCKED)","notes":"User has exceeded allowed number of failed logins (5 times). ","userType":"REGULAR USER","lastLoginDate":"2018-02-14T21:55:34.543","failedLogin":99,"expiredDate":null,"sponsorId":29,"sponsorNo":29,"sponsorCode":"scode1","sponsorName":"Sponsor1","acctMgr":"myemail1.com","acctMgrEmail":"manageremail.com","licenseCount":null,"cutoffDate":null,"lastPaymentDate":null,"billingCycle":null},{"userNumber":1594,"userId":"1594@noemail.com","email":"1594@noemail.com","firstName":"F1594","lastName":"L1594","status":"DEACTIVATED","notes":null,"userType":"REGULAR USER","lastLoginDate":"2014-06-20T15:50:30.107","failedLogin":99,"expiredDate":null,"sponsorId":29,"sponsorNo":29,"sponsorCode":"scode1","sponsorName":"Sponsor1","acctMgr":"myemail1.com","acctMgrEmail":"manageremail.com","licenseCount":null,"cutoffDate":null,"lastPaymentDate":null,"billingCycle":null}]}

 

Any idea why I'm getting this error?

Thanks!

Ryan

Silviya Stoyanova
Telerik team
 answered on 26 May 2020
1 answer
283 views

I am applying filters on my grid using external form window in my UI. The form window contains one checkbox and radio buttons. The checkbox and radio button works fine when I select them and submit the form. But when I reopen the form window, all other selections persist except the checkbox and radio button.

I am using kendo version 2017.1.118 and jquery version 3.0.0. The external controller is written in C#.

I have attached 3 screenshots here- opening the form window for the 1st time, applying filters and submitting the form, and reopening the window after previous submission.

(Note that the "mins" radio button is selected by default)

Here is my script where I include the dom elements of the form window:

01.<script id="logFilterWindowTemplate" type="text/x-kendo-template">
02.    <div id="popupWindow" class="k-popup-edit-form">
03.        <div class="timesection">
04.            <div id="timewindow">
05.                <div class="heading">By Time Window</div>
06.                <div class="k-edit-label"><label>Last:</label></div>
07.                <div class="k-edit-field">
08.                    <div><input class="filter lastntime-filter" id="timetext" /></div>
09.                    <div class="radiotime">
10.                        <input type="radio" id="mins" name="lastntime" value="mins" checked="checked" /><label for="mins"> mins</label>
11.                        <input type="radio" id="hours" name="lastntime" value="hours" /><label for="hours"> hours</label>
12.                        <input type="radio" id="days" name="lastntime" value="days" /><label for="days"> days</label>
13.                    </div>
14.                </div>
15.            </div>
16.            <div id="timerange">
17.                <div class="heading">By Time Range</div>
18.                <div class="k-edit-label"><label>Start Time: </label></div>
19.                <div class="k-edit-field"><input id="startdate" name="startdate" class="filter start-date-time-filter" placeholder="Select log start time" /><span class="k-invalid-msg validation-msg" id="startvalidation" data-for="startdate"></span></div>
20.                <div class="k-edit-label"><label>End Time: </label></div>
21.                <div class="k-edit-field"><input id="enddate" name="enddate" class="filter end-date-time-filter" placeholder="Select log end time" /><span class="k-invalid-msg validation-msg" id="endvalidation" data-for="enddate"></span></div>
22.            </div>
23.        </div>
24.        <div class="otherfilters">
25.            <div class="sub-filter1">
26.                <div class="k-edit-label"><label>Tenant: </label></div>
27.                <div class="k-edit-field"><span id="monitoringTenantTemplate" class="filter tenant-filter"></span></div>
28.                <div class="k-edit-label"><label>Role: </label></div>
29.                <div class="k-edit-field"><span id="monitoringRoleTemplate" class="filter role-filter"></span></div>
30.                <div class="k-edit-label"><label>User: </label></div>
31.                <div class="k-edit-field"><span id="monitoringUserTemplate" class="filter user-filter"></span></div>
32.            </div>
33.            <div class="sub-filter2">
34.                <div class="k-edit-label"><label>Level: </label></div>
35.                <div class="k-edit-field"><span id="levelTemplate" class="filter level-filter"></span></div>
36.                <div class="k-edit-label"><label>Server: </label></div>
37.                <div class="k-edit-field"><span id="serverTemplate" class="filter server-filter"></span></div>
38.                <div class="k-edit-label"><label>Thread: </label></div>
39.                <div class="k-edit-field"><input class="filter thread-filter" placeholder="20,30" width="30" /></div>
40.            </div>
41.        </div>
42.        <div class="messagesection">
43.            <div class="k-edit-label"><label>Message: </label></div>
44.            <div class="k-edit-field"><textarea class="filter message-filter" placeholder="Search log text" rows="3"></textarea><div><input type="checkbox" id="msgCheck"><label for="msgCheck">Use regex to search</label></div></div>
45.        </div>
46.        <div class="footer">
47.            <div class="k-edit-buttons k-state-default export-button">
48.                <button class="k-button k-button-icontext k-grid-export-data" id="exportbutton">Export</button>
49.            </div>
50.            <div id="alerttext"></div>
51.            <div class="k-edit-buttons k-state-default apply-clear-buttons">
52.                <button class="k-button k-button-icontext k-grid-clear-filters">Clear</button>
53.                <button class="k-button k-button-icontext k-primary k-grid-apply-filters" id="applybutton">Apply</button>
54.            </div>
55.        </div>
56.    </div>
57.</script>
Preslav
Telerik team
 answered on 25 May 2020
8 answers
1.2K+ views

Is there a way to place a Kendo UI grid within a template that is used as the detail row? I need to be able to dynamically determine if a grid should be in a detail row template, and adjust the UI accordingly. Specifically, if there is a subcategory record, I want to display the sub categories within a new hierarchical grid nested in the outside grid. I found the following example, but it uses Angular. I need to do something like this with Kendo UI for jQuery. 

Thanks!

Tsvetomir
Telerik team
 answered on 25 May 2020
5 answers
283 views

Hi there,

I am trying to improve the accessibiliy of the Kendo UI Upload. My biggest problem right now is that the "headerStatusUploaded" always says "Done", even if the upload failed. The failure is just communicated by the exclamation mark. See picture attached.

To me "Done" sounds like everything went fine. This is especially bad for accessibility because the exclamation mark is not read by screen readers, but I also find it irritating as a not disabled user.

Best, Max

Maximilian
Top achievements
Rank 1
Veteran
 answered on 25 May 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?