Telerik Forums
Kendo UI for Angular Forum
4 answers
3.5K+ views

There is no insertHTML command for Angular Kendo Editor.

 I tried InsertText, however, it will show all html tag in editor. How to resolve this issue?

 

Please see code below:

   var strResult =  "<p></p>" 
    +"<span style='font-weight:bold'>CBC, Manual Diff if Indicated (2020-03-17 13:30:00.000)</span>"
   +"<p></p>"
    +"      [MCH]"
     +" 27.1 N 27.0-32.0 "
    +"<p></p>" 
    +"      ["
    +"Platelet Count"
    +"]"
     +"  290 N 150-450";

    editor.exec('insertText', { text: strResult});

Ming
Top achievements
Rank 1
 answered on 27 May 2020
2 answers
8.7K+ views

Hi,

 

I am trying to get currently selected rows from a kendo angular grid and perform some operations for selected rows (such as call an external API using information from selected rows).

- user can select one row

- user can select multiple rows using `shift`

- user can select multiple sections using combination of `shift` and `ctrl`

 

I tried to use `selectionChange` which knows only the current selected rows and not previously selected.Tried to follow this: https://www.telerik.com/forums/how-to-get-the-selected-row-data-item which did not work either.

 

Please provide a sample get list of selected rows at will from the grid. It is fine even if I can get `id` column for selected rows as I can filter through the original data and get other columns for selected ids.

Amit
Top achievements
Rank 1
 answered on 27 May 2020
1 answer
190 views
hi, i want to add table in editor. but i cannot edit width and height. how to display table wizzard like jquery have ?
Petar
Telerik team
 answered on 27 May 2020
1 answer
171 views

I would like to customise the Template using the technique described in the API reference, and similar to one of the other threads in this forum. I have used this example posted by an admin to another thread: https://stackblitz.com/edit/angular-gmuolt-jxzifm?file=app/upload.component.ts

However, I find that when you add an ng-template, all of the default template, including default nice UX is removed.

Is it possible to instead customise the existing Template, for example by adding a second"row" or "li".

If not, how would I go about recreating the UX elements from the default template to use in my custom template?

Thanks.

Dimiter Topalov
Telerik team
 answered on 27 May 2020
3 answers
636 views
Based on the article here, it says we can customize the Pager template:
https://www.telerik.com/kendo-angular-ui/components/grid/paging/#toc-pager-template

Is there a way i can change the ICONs of the <kendo-pager-prev-buttons> or <kendo-pager-next-buttons> ?
Preslava
Telerik team
 answered on 27 May 2020
1 answer
368 views
When will we get support for uploading folder as per the JQuery version?
Dimiter Topalov
Telerik team
 answered on 26 May 2020
1 answer
107 views

Hi Team,

I want to know whether the Kendo UI Window for Angular is free or paid. I just want to use window widget.

Thanks and Regards,

Akhil Bahl

Dimiter Topalov
Telerik team
 answered on 26 May 2020
4 answers
596 views

Hi there,

 

We are having hard times to get our notifications right. Here is how our application works.

We have created a custom NotifcationService that abstracts notification for both desktops (Kendo UI) and mobiles (Ionic). Application components can trigger our NotificationService whenever needed. For instance, for the login page, we display a notification on error or success. Our notifications always have a title / header and a content message.

 

Kendo UI notification for Angular provides three different ways: string (doesn't allow html tags), TemplateRef and Component.

  • The first option would have been perfect if we would have been able to put some tags to format the output.
  • The second option has not been considered given our abstraction logic.
  • We gave a try to the third option but without success for the time being. We created a custom NoticationComponent with two inputs: title (string) and message (string). We used ComponentFactoryResolver to get an instance of our Component and send it our variables. But when we try to use its instancefor NotificationSettings.content it fails:
Type 'NotificationComponent' is not assignable to type 'string | Function | TemplateRef<any>'

whereas passing NotificationComponent directly to NotificationSettings.content works well (but it is then not possible to pass input variables).

 

Are we missing something here? What would have been nice is either to:

  1. Allow tags in content string
  2. Manage an alternative object such as title, message
  3. Allow input parameters for Component rendering case

Thanks

C.

Cyril
Top achievements
Rank 1
 answered on 26 May 2020
1 answer
357 views
Hi, while working with editor, im tyring to print the content from kendo ui editor to pdf. but its not showing anything in pdf
Dimiter Topalov
Telerik team
 answered on 26 May 2020
1 answer
101 views

Thanks

Qubao Ruan

Qubao
Top achievements
Rank 1
 answered on 22 May 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?