How to integrate Reporting tool in Kendo UI Angular?
In DataGrid, export PDF is taking snapshot and downloads but not actually data?
Thanks in advance.
This is more of a general question about how charts work and how data manipulation works. I have an issue where I am lacking the vocabulary to explain what I want to my developer,
I have a large table in sql. I have a webapp that I use to view the data in a kendo ui grid, and it is written in angularjs and jsp,
I think it would be best to illustrate with a simple example:
I sell apples, and I log in every apple into my inventory along with all of the characteristics of the apple, like color, the date I bought it, the date it was sold, the condition of the apple (rotten/not rotten), the name of the farm the apple came from, plus a lot more about the apple.
I want to chart the number or green apples that were marked sold each day for the past month, and then compare that to the number of red apples that were marked sold per day over the past month.
I am essentially counting the rows that match the filtering (color = green, availability = sold) and then plotting them based on the date sold column
This is something I might make a pivot table for in excel and then graph from that
I want to explain this to him and give links of examples, where I am not plotting numbers in the database, I'm summing the number of rows that match specific filtering and then plotting the per day total over specific date range.
My googlefoo is failing me so I thought I would ask someone who has done something similar to this and what it is called so I can search more efficiently for answers.
Thank you in advance for your help!
Hi,
It does few days that i can't resolve this error : ERROR TypeError: data.slice is not a function.
I try to print my data in a kendo grid and the error is always present.
In my other projects, i don't have the error in my grid.
Here is my code :
html :
<kendo-grid [kendoGridBinding]="traductionData" [filterable]="true" [resizable]="true" [sortable]="true" [pageable]=true [pageSize]="15" class="table">
<kendo-grid-column field="Code" title="Code" [headerStyle]="{'background-color': '#082d61', 'color': '#ffffff', 'font-weight': 'bold'}">
<ng-template kendoGridFilterCellTemplate let-filter let-column="column">
<kendo-grid-string-filter-cell [column]="column" [filter]="filter" [showOperators]="false">
</kendo-grid-string-filter-cell>
</ng-template>
<ng-template kendoGridCellTemplate let-traduction>
{{ traduction.Code }}
</ng-template>
</kendo-grid-column>
<kendo-grid-column field="Francais" title="Français" [headerStyle]="{'background-color': '#082d61', 'color': '#ffffff', 'font-weight': 'bold'}">
<ng-template kendoGridFilterCellTemplate let-filter let-column="column">
<kendo-grid-string-filter-cell [column]="column" [filter]="filter" [showOperators]="false">
</kendo-grid-string-filter-cell>
</ng-template>
<ng-template kendoGridCellTemplate let-traduction>
{{ traduction.Francais }}
</ng-template>
</kendo-grid-column>
<kendo-grid-column field="Anglais" title="Anglais" [headerStyle]="{'background-color': '#082d61', 'color': '#ffffff', 'font-weight': 'bold'}">
<ng-template kendoGridFilterCellTemplate let-filter let-column="column">
<kendo-grid-string-filter-cell [column]="column" [filter]="filter" [showOperators]="false">
</kendo-grid-string-filter-cell>
</ng-template>
<ng-template kendoGridCellTemplate let-traduction>
{{ traduction.Anglais }}
</ng-template>
</kendo-grid-column>
</kendo-grid>
type-script :
import { Component, OnInit } from '@angular/core';
import { ApiService } from 'src/app/services/api.service';
@Component({
selector: 'app-grid-traductions',
templateUrl: './grid-traductions.component.html',
styleUrls: ['./grid-traductions.component.scss']
})
export class GridTraductionsComponent implements OnInit {
traductionData !: any[];
constructor(private api: ApiService) { }
ngOnInit(): void {
this.getLesTraductions();
}
getLesTraductions(){
this.api.getAllTraductions()
.subscribe(res=>{
this.traductionData = res;
console.log(this.traductionData)
})
}
}
my api-service :
import { Injectable } from '@angular/core';
import { HttpClient } from '@angular/common/http'
import { map } from 'rxjs/operators';
import { environment } from 'src/environments/environment';
@Injectable({
providedIn: 'root'
})
export class ApiService {
localUrlAPI: string = environment.urlAPI;
constructor(private http : HttpClient) { }
getAllTraductions(){
return this.http.get<any>(this.localUrlAPI+"GetAllTraductions")
.pipe(map((res:any)=>{
return res;
console.log(res);
}))
}
}
Thx for the time.
Hi all!
I would like to connect values from series-item to categories in category-axis-item.
But it doesn't work together.
What I want: https://prnt.sc/HjCWlDLbjJy8
What i have: https://prnt.sc/eyDunF-lvGew
But data on each screenshots is same.
I need to use const categories - all months of the year. But i have big array of values per day.
May you help me with that? How can i reach that?
Big thanks!
Hi,
I have the scenario where I have to implement a three-layered master-detail as shown in the snapshot.
Is there any possibility of exporting?
Thanks in advance.
I'm going to start development for a new CRUD app using Angular 6. I have used Angular Material and Bootstrap in my earlier projects. For a change, I want to use another UI Framework and see how it goes. What would be the best stable, easy to use Angular UI framework so far which is ideal for a CRUD application?
I googled and found that ng-lightning and SemanticUI have nice design, so could you please share your experience with those two frameworks if you have.
Hello,
I am developing an angular application on webpack 5 .i have two problems with Grid that is:
I - Change Items Per Page
First time, i change items per page, the page number is not updated.
2nd, i re-click on select items per page, the page number is updated now.
II - Always shows "No records available." even if there is data.
Please help me soon.
Thanks !
Hello Team,
I have a scenerio where i need to show the data in multiple lines within autocomplete field, I'm able to get multiple lines in item template but when selected it is displaying in single line, is there any way to show it in multiple lines?
TIA.
Srija .P
I work on an enterprise application that has a mix of AngularJS (v1) and NGX (v2+) pages. We employ Kendo UI to construct Grids for list pages in the app.
Recently, we updated the the NGX portion of our application to Angular 12 via these update steps. After doing so however, the "items per page" text that usually appears at the bottom of the Kendo Grid next to the page size drop down disappeared from grids that are on AngularJS pages.
I've tried reverting the i18n migration step in the Angular upgrade guide which changes message IDs ("items per page" is one of the messages in messages.xlf
) but this didn't help.
I also tried modifying the $scope
's gridOptions
that set the messages on the grid based on these docs i.e.
pageable: {
.
.
.
messages: {
itemsPerPage: "items per page"
}
}
but this also didn't work.
What's interesting is that if I modify the display
or empty
properties in messages
, I do actually end up seeing a change. It's itemsPerPage
(among other properties) whose updates can't be seen on the front-end. This might be a symptom of the same issue.
Anyone have ideas as to why this might be happening? Are there any incompatibility issues with certain versions of @progress/kendo-angular-<package_name>
with version 12 of Angular?
Hi.
Simple question about scrolling.
Is there any way to tell what is startRow or endRow for standard scroll? (Not virtual scrolling)
Since there is scrollTo option. Isn't there some way to tell where scroll bar is located?
Failing that is there a way to tell ContentScrollEvent ScrollTop max height?
Thanks
Kaspars
How to integrate Reporting tool in Kendo UI Angular?
In DataGrid, export PDF is taking snapshot and downloads but not actually data?
Thanks in advance.