All Questions
318
questions
0
votes
1
answer
54
views
Add two different index.html in angular.cli.json
I have to add two index.html for prod and dev, I'm using angular5 project need to add under angular.cli.json
where and how to add them?
I have tried with configuration but this says above version 6
0
votes
2
answers
618
views
Add [ngClass] only on the element that is clicked on
I have several columns that I need to differentiate when one is clicked to only have the class activate on that one and if a different one is activated to de-activate the previous one and activate ...
0
votes
2
answers
270
views
Angular5 - Scrolling to anchor
I am trying to do a scroll to an anchor when I redirect to a new page. I have tried different things but without success. Now it scrolls down but it's not showing the whole HTML element I need, it ...
0
votes
1
answer
2k
views
How do I change color of Mat-Checkbox when it is disabled Globally?
I have used mat-checkbox in my project and have given it a custom color. but that color is applying on all the disabled checkboxes in which users are unable to determine which checkbox is checked and ...
2
votes
1
answer
541
views
set datepicker value automatically based on previous datepicker in angular(setvalue)
I have two datepickers picker1 and picker2. What I am trying to to is that when I select a date in picker1 the picker2 should automatically get selected and the date in the picker2 should be 60 days ...
-1
votes
2
answers
635
views
Converting a complex timestamp to normal time in angular
I have a time stamp like
2021-03-12T14:55:35.454Z
I want to convert that into normal time like this (below) in the ts file
2:55pm
I am working in angular. Please help if you guys know. I have ...
-1
votes
1
answer
97
views
What type of chart is this? does this have a specific name or it must be built from scrach? [closed]
I am working on this chart angular 5 project and have a requirement of this chart but not able to figure out this chart name or it should be built custom any inputs. Thanks in advance
-1
votes
1
answer
1k
views
Move table data to next row in table after a button click in angular
I have a two tables totally Table1 and table2. Table1 is filled with data from a service. In Table1 I have columns such as Qty,Price and Checkbox. In the checkbox column I have checkboxes as values. ...
1
vote
1
answer
35
views
Continue index order of two seperate arrays
I have an object which has "X" arrays (please note that these can be larger or smaller):
note: PONotes
allNotes: Array(6)
0: PONote {_text: "Contratación", _date: "", ...
0
votes
1
answer
29
views
Troube using ngFor to correctly iterate array
Im trying to iterate through an array which returns "notes" as seen below. I have two fields called state and baseType which mean the following:
state: The number of messages to show
...
1
vote
1
answer
4k
views
How to maintain the text format (No Formatting) when export to excel using XLSX Angular
I have the simplified working code below:
It is trying to simulate and generate 3 rows of data to HTML using tag. I have it "reference" using #myTable. The Data is being passed and an excel ...
2
votes
2
answers
120
views
in dynamic div - on click highlight color
HTML
<div class="nav--small nodeLevel newColor" id="rowItem-{{i}}" *ngFor="let root of rootzTemplates; let i=index" (click)="nodeClickLevel1(root,i)">
...
0
votes
1
answer
2k
views
Dynamically add elements to the editable div with Angular and ANYWHERE
So, I am creating an HTML interface where user should be able to write a text and push it as a notification to our mobile app.
I am facing some troubleshoots with the text and the dynamic inserted ...
1
vote
1
answer
276
views
Fix width of drop down menu in select box option
I am using Angular5 for front-end development. I am trying with css but not getting any solution. Here is picture bellow. I want a solution that will be used Ellipsis for overflow text in dropdown ...
0
votes
2
answers
577
views
How to disable a single option inside side menu in ionic?
I want to disable a button inside the side menu based on a condition in ionic. The condition needed to check will be available only after I login to the application. I'm defining my pages in the app....