Telerik Forums
Kendo UI for Angular Forum
0 answers
354 views

Hi

 

I tried your schedule sample https://stackblitz.com/edit/angular-wttnac-9ednxl

but i have folloing error message

Error: src/app/app.component.ts:18:48 - error TS2339: Property 'slotClass' does not exist on type 'AppComponent'.

 

Could you help me thanks

bahaso
Top achievements
Rank 1
Iron
Iron
Iron
 asked on 19 Jul 2021
0 answers
68 views

Hi

 

Could i have calender of week and scheduler with day detail visible simultaneously ?

like outlook.

 

Regards

bahaso
Top achievements
Rank 1
Iron
Iron
Iron
 updated question on 18 Jul 2021
1 answer
213 views

What to I need to do in onDragEnd() in this sample, it should work?

https://stackblitz.com/edit/angular-jadbh4?file=app%2Fapp.component.ts

 

Hetali
Telerik team
 answered on 16 Jul 2021
1 answer
1.6K+ views

Hi,

 

In a definition like below I get the same Object in the 'dataItem' parameter as in the 'formGroup' parameter. This leads to me not being able to access the dataItem in my template.

 

<ng-template kendoGridEditTemplate let-dataItem let-formGroup="formGroup">
<!-- Usage of both dataItem and formGroup -->           
</ng-template>

Jeremy
Top achievements
Rank 1
Iron
 answered on 16 Jul 2021
0 answers
250 views

I am trying to have dynamic data in a kendo grid which is determined at runtime. The structure of data is an array of arrays of objects. Visually, I would like to have dynamically generated column groups that contain two columns, and the columns have as many rows as objects within the array of arrays. I've been struggling how to make this happen, due to various issues. One issue is that the column indexes add even if they are being dynamically generated (but instead should be reset upon a new column group, but just increases with the next columngroup). I also noticed that the row size is always the same as the column size, because when adjusting the number of inner arrays, both the row size and column size are exactly the same, that is, the number of inner arrays, and the rowsize does not depend on the amount of objects within a given inner array (as it normally does were all the objects in the outer array, and that is the behavior I would want).

Here is a link that shows an example of what I'm talking about, with a normal html table on top that is in the style I'm looking for, and on the bottom the kendo grid that isn't styling like I want it to:

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

(I've tried many different ways to mimic the top behavior but I have so far failed to do it. )

Any help would be greatly appreciated!

 
Lazer
Top achievements
Rank 1
 updated question on 15 Jul 2021
0 answers
216 views

how to change column filter format for numbers?

the default format is:

1,200.00

the format I would like to use is:

1.200,00

Great regards,

Alex

alex
Top achievements
Rank 1
Iron
Veteran
 asked on 15 Jul 2021
2 answers
923 views

Hi,

We want to use the Kendo UI grid, but with inline editing functionality.

We want to have an edit button on the end of the row. If the button is clicked, the detailed row templated should be shown, but should be editable of course.

It seems to be a combination of following examples:

Detail Row Template - Grid - Kendo UI for Angular (telerik.com)

Custom Editing in Reactive Forms - Grid - Kendo UI for Angular (telerik.com)

Example:

Grid has a data item with two columns (Order + Name) and an actions column. The data item also contains other columns which are only visible in edit-mode: 'Nederland', 'Frans', 'Engels', 'Active'. The grid should be inline-editable, by showing the edit-form below the non-editable row directly. (combination of the two mentioned links above: master/detail + custom editing in reactive forms)

On top of that, we want to create a generic grid (wrapped kendo ui grid). The templates/columns/layouts should be definable outside that generic grid. In that way we can use the generic grid on multiple pages and the templates/columns/layouts should be provided as input to that component.

How can we achieve this?

Kristof
Top achievements
Rank 1
Iron
Iron
 answered on 14 Jul 2021
1 answer
457 views

Hi,

We have a grid which displays a dialog for the user to add a record. Once it's been added the webapi (c#) returns the new record id and the dialog closes.

How can I get the grid to be reloaded with the new record as the first row and still honour the sorts/filters and still use DataSourceRequest and ToDataSourceResult() ?

I think I'm after a UNION but with the new record first.

Cheers,

Grahame

Grahame
Top achievements
Rank 1
Iron
 answered on 14 Jul 2021
0 answers
328 views

Hi,

I'd like to show a  message when dataSource is empty.

With kendo grid is allowed by no-records-template:


<ng-template kendoGridNoRecordsTemplate>
	<span [innerHtml]="'PAGES.PAYSLIP.GRID.NO-DATA-MESSAGE' | translate"></span>
</ng-template>

I would like a template like this for kendo charts  :)

 

Great regards,

Alex

 

 

 

alex
Top achievements
Rank 1
Iron
Veteran
 updated question on 14 Jul 2021
1 answer
1.0K+ views

Hi,

We have a form page with a kendo-numerictextbox.
Our form is wrapped in a base page that contains some buttons on the top. (so that each form has the same buttons on top)
The buttons are included on the page within the <form> tag.

In case we enter a new value in the numeric textbox and pressing ENTER, the click()-event for the first kendo-button on the top is fired.

- How can we avoid the click() event of that first kendo-button?

- In case the enter is allowed and I want to execute click() of another button (2nd or 3rd). How to achieve that one?

Thanks in advance

 

Slavena
Telerik team
 answered on 14 Jul 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?