Angular Routing problem when using useHash:true scrollPositionRestoration: ‘enabled’, did not work

I’m working in an angular project in this project i’m using a routing module to move to a different places in my web page or to anothers componenet the problem is when i move to production mode and i refrech my page after routing i found 404 error page not found that’s why i used […]

By zohra makhloufi
Published
Categorized as angular, typescript Tagged ,

Angular how to make two button in the same size in responsive mode

I’m writing Angular code in which I have two buttons in the same size in web normal size, but when it comes to responsive mode the size changes and a button becomes bigger than the other. I tried to adjust them by changing padding-right and padding-left but if it works correctly in a mobile type […]

By zohra makhloufi
Published
Categorized as angularjs, css, html, javascript Tagged , , ,

AngularJs InnerHtml ignore css property

I’m working in an angularJS project in this project i use some html content from other file called akordion-contenue-service with the property inner html it works pretty coog but the problem was whrn i add somme css property to my html it only comees with html and ignore the css that’s an exmeple of my […]

By zohra makhloufi
Published
Categorized as angularjs, css, html, typescript Tagged , , ,

Angular cannot compile ngb-pagination error NG8002

I’m working in an angular project int his project i’m using angular ngb-pagination with his property i first import import { NgbModule } from ‘@ng-bootstrap/ng-bootstrap’; in app-module.ts and in the imports i import the NgbModule then in html part i use this <ngb-pagination [collectionSize]="countAllUsers" [pageSize]="limitAllUsers" [(page)]="pageAllUsers" [maxSize]="5" [rotate]="true" [ellipses]="false" [boundaryLinks]="true" (pageChange)="loadAllUsersPage($event)" class="pagination-black pagination-on-game"></ngb-pagination> but it […]

By zohra makhloufi
Published
Categorized as angular, ngb-pagination, typescript Tagged , ,

Angular ngx-datatable-footer how to call functions

i have a backend wich extract at time in max 40 user i display every 10 user in one page as a list i want if user want to change the page in each next 4 pages call the function again and extract from my backend but the problem is with ngx-datatable-footer i can not […]

By zohra makhloufi
Published
Categorized as angular, ngx-datatable, typescript Tagged , ,

Angular Ngx datatable how to call function in page paginator

i have a database with more than thousand user and i get every time a 40 user at max my code display every 10 user in a ngx-datatable the problem is that the ngx datatable paginator do not let me at time to call my function again to get the next 40 user i do […]

By zohra makhloufi
Published
Categorized as angular, ngx-datatable, typescript Tagged , ,

Angular how to display data inside every part of doughnut chartjs

how to display data inside every part of doughnut chartjs with angular i make a code like this but it did not work public doughnutChartLabels: string[] = [ ‘Demo’, ‘Test’, ‘Live’, ]; public dougnutChartPlugins=[this.doughnutChartLabels]; public doughnutChartLegend=true; doughnutChartData = []; public doughnutChartColors: any[] = [ { backgroundColor: [‘#735A84’, ‘#E76412’, ‘#9BC311’,], }, ]; public chartLabels: Array<any> = […]

By zohra makhloufi
Published
Categorized as angularjs, chart.js, typescript Tagged , ,

Angular chart js how to use formatter with Doughnut chart

i’m using chart js with angular js i want to show number or percentage in dought js using formatter but it did not work so in html i do like this <canvas baseChart class="chart" [data]="doughnutChartData" [labels]="doughnutChartLabels" [options]="doughnutChartOptions" [chartType]="doughnutChartType" [colors]="doughnutChartColors"> </canvas> and i do this in chart js public doughnutChartLabels: string[] = [ ‘Demo’, ‘Test’, ‘Live’, […]

By zohra makhloufi
Published
Categorized as angular, chart.js, typescript Tagged , ,

Angular how to fill an array from another array

i have an array with called my games it has a lot of property such as game type i want to fill some three ohter array based on the property game type but it did not work this is an exemple of the array my gam hideScore: true, started: true, startedAt: "Fri, 02 Jul 2021 […]

By zohra makhloufi
Published
Categorized as angular, typescript Tagged ,

angular how to resize ngx-datatable while closing and opening nav bar

Before clicking on the on the navbar the <ngx-datatable> looks like this And after clicking on the navbar it looks like this As you see in the second picture the navbar columun did not resize after clicking. Here is the code <ngx-datatable #table class="material" [rows]="data" [loadingIndicator]="loadingIndicator" columnMode="force" [headerHeight]="60" [footerHeight]="80" rowHeight="auto" [limit]="10" [scrollbarH]="scrollBarHorizontal" [reorderable]="reorderable" [selected]="selected" [selectionType]="’checkbox’" […]

By zohra makhloufi
Published
Categorized as angular, css, html, ngx-datatable Tagged , , ,

Still Have Questions?


Our dedicated development team is here for you!

We can help you find answers to your question for as low as 5$.

Contact Us
faq