Telerik Forums
Kendo UI for Angular Forum
4 answers
174 views

As of a week or so ago all the demos in the angular documentation have stopped working.  It just displays a loading spinner icon but the demo never loads.  This is on all of the pages in the angular docs.  If I choose the option to view in stackblitz then it works fine.  I show an error in my JS console that might be causing the issue.

 

GET https://unpkg.com/tslib@1.7.1/index.js 404

 

Those demos are very helpful so it would be great to get them working again.

James
Top achievements
Rank 1
 answered on 31 Jan 2019
1 answer
599 views

Hi,

I am working on Kendo grid Angular where we have to set the background color of rows based on one of the column values (DateTime column)

Compare the difference between the current DateTime and the column DateTime. If the difference is less than 30 minutes then set the background color of row. Using the below example as reference.

https://stackblitz.com/edit/angular-yh8zyr?file=app/app.component.ts

This works fine when grid is loaded for the first time. But the rowCallback function is also invoked when we sort a column in the grid and when we click on any row in the grid and when page index changed etc. The rowCallback is also fired when any event of other controls are invoked (ex: checkbox checked changed event, button click event etc) and the time difference is re calculated and changes the rows background color.

But i want to invoke this rowCallback and update the background of the rows only when grid data is refreshed on demand(we have a button to refresh the results in the grid & we have a checkbox which will refresh the results in the grid for every one minute). How can we achieve this.

Is there any other event/method where we can set the style for the rows in the grid ?

Regards,

Rajesh

Svet
Telerik team
 answered on 30 Jan 2019
2 answers
1.1K+ views

How do we append the Dialog to <body> by default?

Something equivalent of  POPUP_CONTAINER but for Dialog?

 

PS: We are migrating a fairly large app from Kendo UI for AngularJs to Kendo UI for Angular, AngularJs App has a "PopupService"  which wraps around  $kWindow from angular-kendo-window, $kWindow appends to Body by default and would like to replicate the behaviour using DialogService

Thanks

Svet
Telerik team
 answered on 30 Jan 2019
4 answers
356 views

Hello,

I recently have a project that it's necessary to have a filter menu with popup in grid.

I then found this very helpful example here et got it work with fields like string, number

https://www.telerik.com/kendo-angular-ui/components/grid/filtering/reusable-filter/#toc-menu-filtering

But, I could not have a filter with date ! taking this example : https://cd7bdu.run.stackblitz.io/, I would like having something like these in the filter menu :

- [ ] check all

- [ ] 9/20/1996

- [ ] 8/12/1996

- ...

By the way, I also need to have a checkAll checkbox in order to select all the element (please see attachment).

Could you please have any suggestion for theses problems ?

Thanks in advance for your help,

Best regards,

Yen DO

 

Yen
Top achievements
Rank 1
 answered on 28 Jan 2019
1 answer
1.3K+ views

I need to have the detail row details always expanded (for every row), and also remove the +/- button that allows a user to expand/collapse details.  Anyway to do this with the Kendo grid?

Attached is an example of what we are trying to achieve.  The image is from the Telerik Silverlight GridView control.  We are rewriting the Silverlight app into Angular.

 

Dimiter Topalov
Telerik team
 answered on 28 Jan 2019
1 answer
417 views

Hi,
I am reading about this feature request and it sounds interesting, but I can not find anywhere (probably because I don't know what I am looking for) any information:

  • what it is
  • what problem solves
  • when should I use it.

Can someone share some links, information.

Dimiter Topalov
Telerik team
 answered on 28 Jan 2019
1 answer
297 views
I'm playing around with the possibility of using the TabStrip component, and have added one of my components as the content of a Tab.  I'm wondering how to access that content component inside the tab now?  I can't seem to get access to the tab collection ... i must be missing something obvious.
Svet
Telerik team
 answered on 28 Jan 2019
2 answers
286 views

After manually installing (previous post), I am adding the kendo-editor to my template.  When I add, I am getting an error/warning in Visual Studio Code (red squiggly) over the entire page.  If I remove the kendo-editor tag, the error/warning goes away (red squiggly).  Attached is a screenshot of the code with the VS Code error/warning ("[Angular] Cannot read property 'isSkipSelf' of null").  The editor appears to work properly (still testing features) when I run the project/page, it is just the error in VS Code that is confusing.

Tim
Top achievements
Rank 1
 answered on 25 Jan 2019
2 answers
202 views

What could be the possible reasons for the files not getting posted to the Controller? I could see the Files collection on the Client.

I tried the following options

  • Used an MVC controller  with the [saveUrl] property with the input parameters(List<IFormFile> files) and the files are coming empty?
  • Used an API controller with a manual upload(passed in the API URL) with the same input parameters(List<IFormFile> files) and the files are coming empty?
  • Added EnableCors and made the changes in the startup.cs file.

Could you please suggest or guide me?

 

Thank you,

Sathya

 

Dimiter Topalov
Telerik team
 answered on 25 Jan 2019
1 answer
435 views

I am building a dialog using ng-template as per the documentation. 

 

https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/#toc-using-templates

 

I want to provide a custom title bar.  So I am using the <kendo-dialog-titlebar> directive to create my title.  This displays correctly but if my dialog window is too long and I have to scroll, then I lose the title bar when I scroll to the bottom.  The title bar should remain locked at the top no matter where I scroll.  Here is an example I  modified from the docs

 

https://stackblitz.com/edit/angular-ft4nau

 

How can i create a custom title bar and have it scroll locked?

Dimiter Topalov
Telerik team
 answered on 25 Jan 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?