In the Trigger Export Externally example, the source code requires an Element Ref ID to be added:
<kendo-grid
#grid="kendoGrid"
...
>
...
<kendo-grid-pdf
fileName="Products.pdf"
[allPages]="true"
paperSize="A4"
[repeatHeaders]="true"
[landscape]="true"
>
</kendo-grid>
<button kendoButton (click)="exportToPDF(grid)">Export Grid to PDF</button>
The only error shown after running a coverage test is the following:
NG0301: Export of name 'kendoGrid' not found!. Find more at https://angular.io/errors/NG0301
This basically says that I need to import into my *.module.ts -- but I am not seeing in the forums what exactly needs to be imported to help satisfy the tests.
Please advise!
Hello. How I can set row height, but without virtual scrolling. Some times when grid is out of render, other route or tabstrip. When data changed in grid I have locked columns with 0 height. I would like to set row height. I had try set it from css, but locked columns do not have horizontal scroll and content columns have and locked columns is do not have correct inline render. Thank you.
Hi, I would like to get a structured response from a controller invoked by a component. in the UploadsModule module (kendo-upload).
I send a text file that is processed server side.
I would like to send the processed object back to the component that sent the original file?
Could be done?
Thanks for your help,
Francesco Aperti
Hi
I would like to use the default ocean blue style but change the spacing between the elements. I downloaded the theme file, unziped it and copied the .CSS file to my assets folder. I now include the theme using:
1. angular.json has the following in the styles section:
"styles": [
"src/styles.scss"
]
2. I have then added this to the styles.scss
$spacer: 0.1rem;
$font-size-base: 0.8rem;
@import "assets/themes/DefaultOceanBlue.css";
I cannot seem to get the spacing to be condensed - what am I missing / doing incorrectly?
Thank you in advance
ursus
I am using kendo-treeview in angular v12. I want to hide specific node in html based on some condition. I tried to put *ng-If but it's not working . it's hiding the text but node is still rendering. I explored and found one input "isVisible" but I am not sure how to use it. Can anyone please provide the demo link for this.
Thanks,