Telerik Forums
Kendo UI for Angular Forum
1 answer
96 views

I have implemented a custom scheduler view based on the timeline multi day view. I did this by "forking" from the kendo scheduler source code, as suggested in a support ticket. This works for 95%, but there are issues with events that have start or end dates equal to the min and max dates in the scheduler's date range: the tasks' head and tail properties are not set correctly because they are the result of comparing dates that are off by a few hours (the timezone offset) (`createTasks` function in /src/views/timeline/utils.ts).

So I started debugging and I also digged in the source code. It appears to me that kendo does all kinds of strange Date interpretations. For example, the `toUTCDate` function (located in /src/views/utils.ts):

export function toUTCDate(localDate: Date): Date {
    return new Date(Date.UTC(
        localDate.getFullYear(),
        localDate.getMonth(),
        localDate.getDate()
    ));
}

For a localDate that represents for example '2020-03-09T00:00:00+0100', you cannot simple take the full year (2020), month (02) and date (09) parts and treat them as if they were utc (which is what Date.UTC does: It returns the number of milliseconds since January 1, 1970, 00:00:00 UTC).

The result of

new Date(Date.UTC(2020, 2, 9))

is actually '2020-03-09T00:01:00+0100' (which is the same instant as '2020-03-09T00:00:00Z' but is not the same instant the original localDate). This is utterly confusing. Why is this?

 

Martin Bechev
Telerik team
 answered on 12 Mar 2020
1 answer
77 views

I am using Scheduler with Month View for an application I'm developing. The control works as intended when viewing on a desktop computer, however when viewing on a low resolution device (mobile) there is cut off text for both the day labels and events which leads to a less than ideal mobile experience (refer to attachment). Is there a way to enable a more mobile friendly viewing mode for ‘Month View’?

Svet
Telerik team
 answered on 11 Mar 2020
2 answers
183 views
Are there any examples out there of retrieving and setting scheduler resources via a HttpClient?  All of the examples on the demo pages use hard coded resources within the component.  I'm struggling to get resources working when retrieving them from a persisted backend resource via HttpClient.  The data comes back from the API Ok but the Scheduler spits out numerous exceptions.  
Myles
Top achievements
Rank 1
 answered on 10 Mar 2020
1 answer
109 views

Can anyone tell me how to make the kendo Editor - createTable, accessible?

The html output is an <li> that has a role="button", but the only <li> that is not accessible by a keyboard return key is the createTable.

The createTable opens a window that can create a table of x number of rows/columns, but this cannot be activated by a keyboard keypress.

Petar
Telerik team
 answered on 10 Mar 2020
3 answers
1.2K+ views
Hello, we want to use Charts and Sheduler components in our project. We have already tried to implement them, and so far so good, but the bundle size comes out quite large. Is there any way to reduce bundle size? For example, we do not need automatically installed @progress/kendo-angular-buttons, @progress/kendo-angular-dateinputs, @progress/kendo-angular-dialog and few other components in our project. Could we remove and install them if necessary?
Petar
Telerik team
 answered on 10 Mar 2020
4 answers
699 views

We have a Scheduler component with various scheduled items on it. By default, when an item/event is selected/clicked, it becomes highlighted on the calendar, however if the user clicks elsewhere, the selected event 'unhighlights'. This results in a scenario in the application where a detail section beside the scheduler shows details for the selected event, however when the selected event becomes unhighlighted the user cannot easily tell which item on the schedule corresponds to the detail section.

Is there some 'select' or 'selected' event we can bind to such that we can track which item on the scheduler has been selected, or prevent highlighted items from 'unhighlighting'?

Svet
Telerik team
 answered on 10 Mar 2020
3 answers
678 views
Hi,

I want to check the uploading filename max length, I could achieve this by checking the uploading filename in the UploadEvent and alert the error message, but I wish to show it in the Upload control like default style (See attached image).

How could I achieve this?


Thanks,
Nuttachai
Top achievements
Rank 1
 answered on 10 Mar 2020
1 answer
117 views

Hi Telerik,

I want to send canned message telling agent that client has ended the conversation whenever client leave the channel— "Client has ended the conversation". Please see attachment below. I currently have a function where client will send a message when s/he leave the channel but I want to send a canned message. I don't know what to use. Will you help me how it is done. 

Thanks in advance.

Martin Bechev
Telerik team
 answered on 09 Mar 2020
5 answers
1.9K+ views

It looks like in the documentation there is support for generating workbooks with multiple sheets, but it is not clear to me how to do that.  Is there a declarative way that I am missing like 

 

<kendo-excelexport>

     <kendo-excelexport-sheet name="sheet1">

...columns for sheet 1

</kendo-excelexport-sheet>

     <kendo-excelexport-sheet name="sheet2">
...columns for sheet 2
</kendo-excelexport-sheet>

</kendo-excelexport>

Dimiter Topalov
Telerik team
 answered on 09 Mar 2020
3 answers
212 views

Hello Telerik

The Conversation UI is binded inside each kendo tabs strip , each Conversation UI initially load 10 messages, when scroll reach top, new messages should bind to existing feed. each tab's Conversation UI should bind new messages  only when scroll reach top and bind new messages for respective tab's conversation Ui's feed .

How can I achieve this customization within current available API.

Please see the below stack blitz demo and update it 

https://stackblitz.com/edit/angular-x7vrdm?file=app%2Fapp.module.ts

Please watch loom video for more details

https://www.loom.com/share/4098c8839df142acaf005a231f267827

Svet
Telerik team
 answered on 09 Mar 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?