Telerik Forums
Kendo UI for Angular Forum
1 answer
393 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
268 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
985 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
1 answer
346 views

Hello,
how can i create dynamic columns in a detail template?

I want to create as many columns as there are elements within 'data' as shown in the attached image

 

great regards, 

Alex

 

 

 

 

 

 

 

schakravarty
Top achievements
Rank 2
Iron
Iron
 answered on 13 Jul 2021
1 answer
226 views

How can we create kendo ui controls dynamically? I have Angular Kendo UI grid, one column is name of control and depending on that I want to render Kendo control in next column.

I can't use ngSwitch or ngIf as I don't want to already keep html and just hide unhide. I want to render elements runtime.

 

Column 1Column 2----------------
Dropdownkendo-combobox contorl
Date

kendo-datepicker

 

As per above, my first row's column name should render combo box and second row should show date picker and so on.

schakravarty
Top achievements
Rank 2
Iron
Iron
 answered on 13 Jul 2021
0 answers
70 views

Hi,

I have a chart and either seriesOver and seriesClick events bound to methods.

I wonder if there is even possibility to distinguish between these two events on mobile device, e.g. one only for quick tap, the other for let's say second hold (or even any other event), or the development in this area is not so far so that these ideas are not elaborated.

Thanks for response in advance.

J

J
Top achievements
Rank 1
Iron
Iron
 asked on 12 Jul 2021
0 answers
77 views

Hi,

I have a chart with a categoryAxis given like this:


      type: 'date',
      baseUnit: 'minutes',
      baseUnitStep: 15,
      labels: {
        format: 'H',
        step: 4,
      }

The data are per 15 minutes, so the baseUnitStep is per 15 minutes as well. The labels are per 4 base unit steps.

What I need is, when user narrows the screen, to set labels step to e.g. twice, so the label would'n be placed per 4 but per 8 base unit steps.

I tried to reset the labels.step property, also the labels property itself, but there is still no difference in the graph appearance. Should I try to reset the complete categoryAxis or refresh it somehow? Or is there any simpler solution?

Thanks in advance.

J

J
Top achievements
Rank 1
Iron
Iron
 updated question on 12 Jul 2021
2 answers
124 views

Hi,

I search an Calendar sample with Detail in column ?

 

Regards

bahaso
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 09 Jul 2021
1 answer
515 views

Hi

Could i add my own icon list ou SVG list ?

 

Regards

Martin Bechev
Telerik team
 answered on 09 Jul 2021
1 answer
115 views

Hi,

Could you upgrade sample https://plnkr.co/edit/h1EB4cKEZpm4q3jHX8ye?p=preview&preview for Angular12

I have problem with asc and curr which has no type and "filter" is not defined

 

Regards

 

const flatten = filter => {
const filters = filter.filters;
if (filters) {
return filters.reduce((acc, curr) => acc.concat(curr.filters ? flatten(curr) : [curr]), []);
}
return [];
};

 

class NorthinService method fetch has also problem in Angular12

protected fetch(tableName: string, state: any): Observable<GridDataResult> {
const queryStr = `${toODataString(state)}&$count=true`;

return this.http
.get(`${this.BASE_URL}${tableName}?${queryStr}`)
.pipe(
map(response => (<GridDataResult>{
data: response['value'],
total: parseInt(response['@odata.count'], 10)
}))
);
}
Yanmario
Telerik team
 answered on 08 Jul 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?