Questions tagged [angular6]

Questions about Angular version 6, the web framework from Google. Use this tag for Angular questions which are specific to only version 6. Use tag Angular for any Angular questions which are not specific to an individual version.

Questions about Angular version 6, the web framework from Google.

You can read more about Angular version 6 here

You can find Angular version 6 official documents here

7869 questions
2
votes
1 answer

How i remove column using xlsx library in angular application

How to remove the last column from a table using the xlsx library? I'm saving my table from my angular application, but I wanted to remove the last column named "description" because it's just an action column, it only contains icons, but when…
Allison1
  • 57
  • 3
  • 9
2
votes
0 answers

Navigation from one component to another component without reloading both the component in Angular 6

I have a web application developed using Angular. This is the layout of my web applicaton I have filters in filterComponent and products are displayed in productsComponent, On applying the filters in filterComponent the products should get…
yogitha c
  • 121
  • 6
2
votes
1 answer

Angular / ng2-charts: Fetching json data in chart object showing: Cannot read property 'length' of undefined

I am fetching json data in the form: [2193,3635,8417,0] from localhost:8080. I want this dataset to act as canvas data in the form of pie chart. Here is one.html code:
Sophia
  • 145
  • 2
  • 12
2
votes
2 answers

Get ID from Router URL

I am trying to log every page accessed in my angular application. My route is like so: const routes: Routes = [ { path: ':id', component: AppComponent} ]; My app.component .ts onInit: ngOnInit() { console.log(this.router.url); } When I access…
user10181542
  • 1,210
  • 3
  • 16
  • 37
2
votes
1 answer

Getting an Html Response Via Pure JavaScript Ajax Calling But Not Getting Executed

What I am trying to achieve is that I want my chat-bot application to be a part of the other application when getting called via asynchronous JavaScript calling. Though the chat-bot itself is an independent application. I am able to get the Html…
2
votes
1 answer

Assigning list to dropdown inside subscribe method

I am trying to populate an NgMultiSelectDropDown using some data fetched from database using subscribe method. The list to be assigned to the dropdown is being populated inside the subscribe method. a = []; ddlList = []; public jsonString: string =…
user9057272
  • 367
  • 2
  • 5
  • 17
2
votes
1 answer

Angular 6 - Firebase - Routing not happening properly after successful login

Had spend a lot of hours to fix my issue, but couldn't make it. Also, I've come across related threads from SO, but still I don't find the solution to resolve this. Issue after successful signup, I got email verification flag to true. but when I try…
2
votes
2 answers

How to call method after getting response from previously called method

I am trying to save file array to spring boot server. One file is being saved at a time. i am iterating the file array with for loop and making a request for each file to be saved. Here i want next call to be made only after getting response for…
omkar
  • 55
  • 1
  • 6
2
votes
3 answers

angular 6 file upload preview working only after second upload

I using Angular 6. I have simple input type="file" that pass data to img scr that show me image that i need to upload. When i select image first time nothing happens,and when i select image second time i do see the preview image. What i am missing…
Vladimir Potapov
  • 2,347
  • 7
  • 44
  • 71
2
votes
0 answers

How to read and display unstructured Excel sheet data in Angular6

Is there any way to Read unstructured data from an excel sheet and display it out in the browser as table using Angular6 . Currently i am looking at wijmo.grid.xlsx Module which does both, but it is not free. importExcelAsync() { var fileInput =…
sowmya
  • 79
  • 8
2
votes
3 answers

set width of ng-multiselect-dropdown

I am using ng-multiselect-dropdown. I want to set its width to 100pt. I already tried using some css .multiselect-dropdown { widht:100pt; } .multiselect-dropdown .dropdown-btn { widht:100pt; }
Aniket
  • 310
  • 1
  • 4
  • 22
2
votes
2 answers

How to share AngularFire setup between a project and an included custom library

So far I've got an Angular 7 project, that has couple of modules in itself and also my custom library with outsourced common functionality and both the project and the library have to use AngularFire. The problem that I get when I try to do the next…
Eriendel
  • 911
  • 1
  • 9
  • 23
2
votes
1 answer

How to insert images the server instead of Base64 in angular7

I'm currently working with ngx-quill in my angular project. I try to add image with using the editor but editor upload image base64 encoding. editorText : string editorForm: FormGroup editorContent: any editorStyle = { height:…
2
votes
1 answer

background-image isn't working in Angular6 using ngStyle

I want to set background-image dynamically using ngStyle. But it isn't loading anything. Here is my HTML And…
2
votes
2 answers

How to navigate to a child route by default - Angular 7 (Routes)

I am using Angular routes, to navigate through the components. When a user is logged in they are navigated to dashboard/:id and then they see dashboard/123/projects etc. The problem is, when the user navigates to /dashboard only, I want to redirect…
Nadeem Ahmad
  • 665
  • 3
  • 17
  • 40