Telerik Forums
Kendo UI for Angular Forum
1 answer
5 views

Hi everyone

I have browsed the forums, but can't seem to find a recent article. As the title says, we would like to add a "No data" template to our existing Kendo charts.

Is there a directive/template we can use in the API that will do this for us? The alternative is to create a custom overlay, but thought that Kendo would have something like this built in?

Thanks.

Yanmario
Telerik team
 answered on 05 Oct 2022
0 answers
5 views

In our application, we recently updated to Angular 14, and our kendo-dropdown import is currently on version 7.2.0. 
With our multiselect dropdowns, we found a weird interaction - when we include [popupSettings]="{appendTo: 'component'}", the dropdown's popup activates when clicking the searchbar but clicking on it automatically closes the popup without an activation or change of state. When we force the popup to stay open by using preventDefault when OnClose is called, the functionality is present and works as expected (though it can never close).
When appendTo is set to its default/"root", the multiselect dropdown does work as intended. However, we are experiencing a bug akin to https://www.telerik.com/forums/overwrite-default-value-for-appendto-setting-of-a-popup where scrolling on a page before opening a dialog with a multiselect dropdown will result in the popup being misaligned. We are using Angular Material's MatDialog.

 

 

Matt
Top achievements
Rank 1
 asked on 04 Oct 2022
0 answers
2 views

I'm trying to remove the title bar component completely from a window created with a call to WindowService.

Here's my custom open method:

openWindow(settings: WindowSettings, closeCallback: any, preventClose: boolean = false, inputData: any = null): WindowRef {


    if (preventClose) {
      settings.preventClose = (e: any, w: WindowRef) => {
        return true;
      }
    }

    
    let w = this.windowService.open(settings);
    let contentInstance = w.content.instance as any;

    if (inputData) {
      for (const key in inputData) {
        const value = inputData[key];
        contentInstance[key] = value;
      }
    }

    w.window.instance.resizeStart.subscribe(() => {
      //delete w.window.instance.titleBarView
      if (w.window.instance.titleBarView)
        w.window.instance.titleBarView.el.nativeElement.remove();
    });

    return w;
    
  }

As you can see, I've found that w.window.instance.titleBarView.el.nativeElement contains the title bar and I can remove it as such, but the problem is that if I try to access the titleBarView property right before the subscribe line, it's always undefined. The title bar disappears when I resize the window, but that's not what I want.

Is there a way I can subscribe to an event (like beforeShow) and have access to it ?

Or any other way to do it would be appreciated.

Thanks.

Francis
Top achievements
Rank 1
 updated question on 04 Oct 2022
1 answer
16 views

Trying to get this example to run but I can't get past these compile errors:  Any guidance?

https://www.telerik.com/kendo-angular-ui/components/grid/master-detail/

Element implicitly has an 'any' type because expression of type '"value"' can't be used to index type 'Object'.Element implicitly has an 'any' type because expression of type '"@odata.count"' can't be used to index type 'Object'.

Martin
Telerik team
 answered on 03 Oct 2022
2 answers
10 views

Hi there,

I'm curious as to what would be the best approach in having a function execute once the animation is done. I could do a setTimeout and invoke the function from there but I'm looking for a more elegant solution if there is one.

I was hoping that the PopupAnimation interface and it's underlying class can provide a callback hook for executing code after the animation has finished.

Thank you and looking forward to your response.

 

Cheers!

Jaime

Martin
Telerik team
 answered on 30 Sep 2022
1 answer
11 views

Hi, we are looking for the input, dropdowns which has this outline design in the material theme but we are not able to find it. 

 

It'd have been better if we have this.

 

something like this https://codepen.io/finnhvman/pen/xyOORQ

 

Thanks.

1 answer
7 views

Since if it is saved per upload I need to generate a GUID to then later match the files with the submitted form. It would be easier to somehow only have them all goto the server when the form is submitted.

 

Any code samples for this ? 

Martin
Telerik team
 answered on 29 Sep 2022
0 answers
8 views

I am populating a chart with dates, but I want to change the display format of the date. Right now date comes in as isoString and displays as M/dd,  but I would like to display as DayOfWeek MM/dd, is this possible to achieve?

Current output:

 

Desired Example:

Aaron
Top achievements
Rank 1
Iron
 asked on 28 Sep 2022
1 answer
10 views

When using the Fluent theme, I would expect the colour of a disabled switch to be a lighter version of the colour for the normal on state, but it's grey, so not easily to tell the difference in the switch state between on and off.

Using the normal theme;

 

Using the fluent theme

 

Yanmario
Telerik team
 answered on 28 Sep 2022
1 answer
9 views

Hi All,

I am using angular 13 and using kendo-multiselect control. I am having an issue when deleting a single value which caused removing all the items. If i click any of the following green highlighted close button all the items get disappear. Code sample also attached herewith. Anything wrong i am doing here?

 

 

Asoka Sampath
Top achievements
Rank 1
Iron
 answered on 28 Sep 2022
Top users last month
Deasun
Top achievements
Rank 2
Iron
Iron
Veteran
Teja
Top achievements
Rank 1
Ethan
Top achievements
Rank 1
James
Top achievements
Rank 1
Simos Sigma
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?