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
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
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
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
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 1 | Column 2---------------- |
---|---|
Dropdown | kendo-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.
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
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
Hi,
I search an Calendar sample with Detail in column ?
Regards
Hi
Could i add my own icon list ou SVG list ?
Regards
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)
}))
);
}