Telerik Forums
Kendo UI for Angular Forum
1 answer
141 views

Hello,

Is it possible to place grid filters outside of the grid?
The desired functionality is that when the screen is resized to a tablet or mobile size, that some of the grid columns would be hidden without horizontal scroll, but the ability to filter them should remain. All of the hidden data would be shown by clicking "+" icon in the grid.
In other words, can I reuse the filter components outside of the grid?

Here is a mockup of the desired functionality:


Martin Bechev
Telerik team
 answered on 16 Dec 2021
1 answer
605 views

Hi,

I need to show some aggregates data at the root level node of tree list i.e at the bottom of the tree list, not at each node if the tree has more then one node. Can anyone suggest a way to hide the footer template except at the root node and show total or aggregates data at the root level node of tree list only . I am attaching screenshot of my requirement.

Thanks

Pankaj Toshniwal

Martin Bechev
Telerik team
 answered on 16 Dec 2021
1 answer
218 views

how to upload files and select additional metadata by using the Kendo angular UI Upload control. I saw this is available in kendo UI for Jquery but we need in kendo UI for Angular. Below is the Jquery example. We need same control in Kendo angular UI .Is it available?

https://docs.telerik.com/kendo-ui/controls/editors/upload/how-to/select-additional-metadata

Dimiter Madjarov
Telerik team
 answered on 16 Dec 2021
1 answer
162 views

Hello,

when the default menu filter icons are clicked/filter popup is being opened, the page scrolls to the top. When I scroll down to the grid, I can see that the filter opened. Only happens with default filters. Tested with Chrome 96.0.4664.45 and Firefox 95.0.

I managed to replicate the unwanted behavior in StackBlitz:

https://stackblitz.com/edit/grid-in-cell-edit-with-datetimepicker-gljp2r?file=app/app.component.ts

The same thing happens if the top of the page is filled with other components, that have no relationship with the component containing the grid.

I have tried setting specific filter types, but it did not help. 

Is there a way to fix this?

Yanmario
Telerik team
 answered on 15 Dec 2021
1 answer
228 views

I am trying to implement a dashboard where the user can add / remove and reorder widgets.

Loading the persisted state should not be a problem since I can create something like this:

<kendo-tilelayout-item *ngFor="let widget of widgets"
                       [title]="widget.title"
                       [col]="widget.col"
                       [order]="widget.order">...</kendo-tilelayout-item>

But how can I persist the state of the tilelayout to my models?

I tried with the reorder event but there I haven't got any information to identify my widget models.

  public onReorder(e: TileLayoutReorderEvent): void {
    // Find the model to persist changes
  }

Svet
Telerik team
 answered on 15 Dec 2021
1 answer
300 views
Hi team

 

I need to get the list of all locale names available in kendo-angular-intl package programmatically. Is there any api or function exposed by kendo which gives us the same list.

https://unpkg.com/browse/@progress/kendo-angular-intl@1.7.1/locales/

I just need the name of the locales present in the above link.

This is required because i want to load the locale data on demand provided by unpkg api kendo. And that needs locale id as input parameter. Now the unpkg api exposed by kendo, takes sometimes bg-BG only first half and in some cases take full like en-CA locale id. 

I need to write some logic on which basis i can check whether to split locale by '-' or not so that unpkg api gives me correct result.

Please help.

 

 

 

Martin Bechev
Telerik team
 answered on 14 Dec 2021
0 answers
135 views

Hi,

there is this blog post about batch editing in the grid:

grid batch editing

I have two questions regarding it:

1. How to get a form field value?

Let's suppose, I want to get a value of a form field in the active row. For this I created a value change event and tested this:


<FormGroup[]>this.formArray.value)[rowIndex].controls

However, it returns undefined. So, no 'get' works too. But on the other side, if I log just this:


<FormGroup[]>this.formArray.value)[rowIndex]

I get the form fields.

2. How to set a form field value in the active row?

Thanks.

jan
Top achievements
Rank 1
Iron
 asked on 12 Dec 2021
0 answers
110 views

Hello,

I'm sorry for the strange request.

I am writing because I could not find a solution / idea.

I have to enable sorting with dedicated buttons for each column of the grid.

For example:

  • add 2 buttons in the header to manage the sorting (ascending / descending). 
  • add a combobox with the options ascending and descending sorting.

In attachment an example.

Could you please help me?
The project is in angular.

Francesco B.
Top achievements
Rank 1
 updated question on 10 Dec 2021
1 answer
1.2K+ views
I have a kendo grid with one column in the percentage format. Currently I am using the built in numeric filter with format = {0:p4} but when I enter 2 for example, the value is automatically multiplied by 100 and converted to 200.0000%. I don't want it to automatically multiply my input value by 100. How can I prevent that?
Hetali
Telerik team
 answered on 09 Dec 2021
2 answers
211 views
I have a Boolean grid column. If the value is true, I want to display 'Deleted', and if the value is false, I want to display 'Active'. What's the easiest way to do this, please?
Graham
Top achievements
Rank 2
Iron
Iron
 answered on 09 Dec 2021
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?