Telerik Forums
Kendo UI for Angular Forum
1 answer
1.6K+ views

Is there a way that we can prevent the close action of a Kendo Window? The example use case is a "CRUD" form, where a user enters many different fields of data. After changing values and clicking the "Close" button of the window, we would like to prompt the user with a message that says "You have unsaved changes, are you sure you wish to continue?" This allows the user to stop closing the window without losing data, if they forgot to save their changes. 

We are using the WindowService to open windows dynamically. I see that there is a "preventAction" available in the DialogService (https://www.telerik.com/kendo-angular-ui/components/dialogs/dialog/service/#toc-action-prevention), but no equivalent option appears to be available in the WindowService.

Is there a way to accomplish the "action prevention" function in a Kendo Window opened through the WindowService? I would be open to alternative solutions if there is no built-in support for this.

 

Austin Brown, Software Development Engineer Team Lead
B&L Information Systems
e: abrown@BLInfo.com
p: 269.465.6207 ext 333
a: 4707 Rambo Road, Bridgman MI 49106

Svet
Telerik team
 answered on 13 Jul 2020
4 answers
360 views

Hello

 

I have dataset where parentId for root item is empty string. In this situation the tree does not displays ("No records available").

How to set default value for parentId field just like here: https://www.telerik.com/forums/is-parentid-field-required-to-be-null ?

 

Regards

No
Top achievements
Rank 1
 answered on 13 Jul 2020
3 answers
156 views

Hi 

I want to make use of kendo-grid with filterable in Kendo-Drop-down . I tried but open,close,focus,blur using is making difficulty.

if I am trying to do filter in grid drop-down is closing,am not able to filter the rows of grid which is in drop-down template

please suggest a method of using grid with filterable and drop-down functionalities.

Martin Bechev
Telerik team
 answered on 13 Jul 2020
2 answers
106 views

Issue: If I collapse one of the statuses and then I sort by status, it expands the one I collapsed and then collapses the one I didn’t collapse

Please see this for reference: https://gfycat.com/silentsecondaryhadrosaurus (I used the example found here: https://www.telerik.com/kendo-angular-ui/components/grid/grouping)

With that, I would just like to know if this is a limitation of Telerik grouping functionality.

Thanks in advance!

Charles
Top achievements
Rank 1
Veteran
 answered on 13 Jul 2020
2 answers
238 views

how to show cursor pointer for labels in series and categories  item in kendo angular bar chart. I see the options available for legend .but not series labels.

 

Thanks,

Nirmala

Nirmala
Top achievements
Rank 1
 answered on 10 Jul 2020
1 answer
172 views

Hello,

I am trying to do some time series analysis with Intraday, 1M, 3M, 6M and so on. Category field used is a date. I have no data for saturday and sunday. I know I can use [missingValues "gap" | "interpolate" | "zero"] to fill in for weekend. But I would like the chart points to be equally spaced with weekends not even showing up in the category axis. Is there a way to achieve this?

 

Thank You.

Svet
Telerik team
 answered on 10 Jul 2020
1 answer
951 views

Hi, i need to achieve map chart in Kendo angular. Please find attached for sample.

While hovering on each countries should display tool tip with data.

Each countries colored with specific colors based on data.

Dimiter Topalov
Telerik team
 answered on 09 Jul 2020
1 answer
802 views
We are making a Grid which is: Sortable, Selectable, Filterable, and Column selector, etc.

What is the property in API for Kendo Angular Grid which does this?

We are trying to store this filtered/sorted grid data into a variable, different  from the Original Grid data.

How can this be done?

Currently looking through resource;

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


    <kendo-grid 
      [data]="documentPropertyGridData" 
      [resizable]="true" 
      [reorderable]="true" 
      [sortable]="true"
      >

      

      <kendo-grid-checkbox-column title="Select" [width]="10" [columnMenu]="false" [showSelectAll]="true">
      </kendo-grid-checkbox-column>
      <kendo-grid-column field="apn" title="APN" [width]="40">
        <ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
          <div>{{dataItem?.apn}}</div>
        </ng-template>
      </kendo-grid-column>
      <kendo-grid-column field="propertyDescription" title="Property Description" [width]="70">
        <ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
          <div>{{dataItem?.propertyDescription}}</div>
        </ng-template>
      </kendo-grid-column>
      <kendo-grid-column field="situsAddress" title="Situs Address" [width]="40">
        <ng-template kendoGridCellTemplate let-dataItem let-rowIndex="rowIndex">
          <div>{{dataItem?.situsAddress}}</div>
        </ng-template>
      </kendo-grid-column>
    </kendo-grid>


https://docs.telerik.com/kendo-ui/api/javascript/ui/grid
Martin Bechev
Telerik team
 answered on 09 Jul 2020
3 answers
425 views
I have an input to search nodes in an angular treeview and I want the tree to autoscroll to the located node.I saw workarounds for jquery but not for angular one.
Dimitar
Telerik team
 answered on 09 Jul 2020
2 answers
1.7K+ views

Hey there!

In our current project we have added a column with action buttons such as edit, delete, etc. This is always the last column of the grid and in some cases, based on the other columns width, it could be non visible. Users have to scroll horizontally to display the column and use its actions.

We have investigated the locked columns feature of the grid but it seems to be locking them only on the left side.

Is there any way to achieve that?

Thanks!

Julio
Top achievements
Rank 1
 answered on 09 Jul 2020
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?