All Questions
229 questions
-1
votes
1
answer
379
views
Problem with drag and drop and creating new element in html
im trying to implement a dinamic drag and drop (angular-material) in angular 7. The case is this:
I have multiples objects in a expansion panel with "Priority", i want to move that objects ...
1
vote
0
answers
927
views
show previous month dates at the starting of current month [duplicate]
I just started with angular material and I came across using date-picker from angular material 7 and I want to know if is there any way to show previous month dates (as greyed out) in current month ...
0
votes
1
answer
303
views
Value of count rows variable give me undefined although I assign it?
I work on angular 7 I face issue count rows variable give me undefined value
although returned data is 3
Expected result I need is Count rows must equal 3
public Countrows:Number;
ngOnInit(): void {
...
0
votes
2
answers
3k
views
How to call web API return Boolean from angular 7?
I work on angular 7 I face issue I can't call web API return Boolean from angular 7
so how call web API on angular 7 return true or false
[HttpGet]
[Route("CompareExcel/SelectedOptions&...
1
vote
0
answers
209
views
How to drag and drop between two separate angular components (not under the same parent)?
i'm new to angular and i need to drag and drop between two components (sidebar component and another component) .
I tried to use CDK drag and drop but cdkDropListConnectedTo and cdkDropListGroup works ...
0
votes
1
answer
334
views
MatTableDataSource return a promise for ~ 7000 lines
I have a problem when try to put a lot of data in mattabledatasource, I want at leas to display a loader but I don't know when data is already set. I try to use a promise like that :
return new ...
0
votes
0
answers
931
views
Multiple mat-header-rows not working with version 5.x angular material
I am trying to have multiple headers as shown in
https://stackblitz.com/edit/angular-bklajw-aazxkz?file=app%2Ftable-basic-example.html
version of material: "@angular/material": "5.2.x&...
0
votes
1
answer
7k
views
Angular mat-checkbox indeterminate not behaving as expected
I'm using Angular 7 and Angular Material 7.3.7, and I'm trying to create an unordered list of mat-checkbox. I am experiencing inconsistent behavior, where the indeterminate is not always showing when ...
0
votes
1
answer
170
views
How to get string[] array of unique item properties from Observable in angular2?
I am getting an Observable. each item have ItemType. items.ItemType have duplicates like Electronics, Household, Electronics.
I need a string array having unique ItemType and then select item from ...
0
votes
0
answers
196
views
Angular 7 Material autocomplete options not shown
I'm using the exact code from the angular page, with the only difference being I'm using Angular 7 and @angular/material 7.
component.html:
<!-- added to see that value is changing -->
<li *...
1
vote
1
answer
1k
views
Angular Material Autocomplete: Autocomplete Panel doesn't collapse on Page Scroll when there are more than one Autocomplete control
As shown in the stackblitz, I'm facing issue in closing the Autocomplete controls except first Autocomplete control(City) on Page Scroll when there are multiple Autocomplete Controls as shown in the ...
1
vote
1
answer
2k
views
Expandable nested Angular material data tables with pagination Not working as expected?
I have a requirement that nested table with tabs, I am using angular material.
Required pagination for Branch Data(server Side Pagigantion) and inner tables within a two tabs(client side pagigantion) ...
0
votes
1
answer
1k
views
Context Menu 'Cannot Read Property of Menu' Angular 7
I'm am trying to create a context menu in Angular 7 but for some reason I am getting an error of 'Cannot Read Property of Menu' in the console...
What I am trying to do is have a menu once I right ...
0
votes
1
answer
2k
views
how to bind value to angular material Auto Complete in angular 7
Hi Am using angular material Auto complete component in my angualr7 app and am figuring out how to bind a value from api response to it. Can any one provide solution to overcome this issue ?
HTML:
<...
0
votes
1
answer
259
views
Nested Input Search in Table in Angular Reactive Forms
I have a very simple problem that i can't fix it. I just need the autocomplete input in the table to function.
Pls see this stackblitz link
onSelectProduct(val: string) {
this.filteredOptions = ...