Questions tagged as 'angular'

1
answer

How to reload a datatables in angular?

I want that when I press any key in the field filter_campo recharge the table, I tried with dtOptions.destroy; and dtOptions.renderer; but none of the 2 recharges the table. This is the library I'm using: link cate...
asked by 20.09.2018 / 22:49
1
answer

How do I close a modal with bootstrap 4 in Angular?

Using - > this library < < - : Example of my modal : <ng-template #content let-modal> <div class="modal-header"> <h4 class="modal-title" id="modal-basic-title">Crear</h4> <button type="bu...
asked by 21.09.2018 / 21:50
0
answers

Parameter in directive * ngFor Angular 6

Good morning. I have a component that has 3 input parameters 1-json_columns 2-json_filas 3-name_filter how can I do so that the name_filter is indicated as the pipe to filter in that data group. component.ts @Input('json_colu...
asked by 30.08.2018 / 18:05
4
answers

Access a property of an object from a string array

I have a object like this: { var: { foo: '', foo2: '', } } and a parameter (['var', 'foo2'], newData) comes to me in a function. What would I have to do to return the original object with var.foo2 = new Data...
asked by 06.09.2018 / 10:29
1
answer

Print what is in a CANVAS HTML tag

I'm trying to print the content of a% HTML% tag, so everything goes perfectly, so what I'm doing through the div library is that you can write a text and add an image as shown below: CONTENT IMAGE But, when trying to print the...
asked by 29.06.2018 / 16:49
2
answers

Error in NgFor Can not find a differ supporting object '[object Object]'

I need some help, I'm working on a project in angular on an agenda, but when I try to call the database objects I get the following error:    Can not find a differ supporting object '[object Object]' of type   'object' NgFor only supports bin...
asked by 14.07.2017 / 06:04
4
answers

Bootstrap does not work in Angular CLI v. 6.1.2

I have a big problem ... I do not load the Bootstrap stylesheet due to a MIME problem. What can I do to solve it? Eye, I've been investigating and apparently it's the CLI version type. Correct me if I'm wrong, but I can not fix it. H...
asked by 09.08.2018 / 15:44
4
answers

How to put a Fontawesome icon on a DataTable button? - Angular

I'm used angular-fontawesome and datatables and I want to create a button in the table, but instead of text I want to place an icon using fontawesome . I have the following code: this.dtOptions = { //... buttons: [ //......
asked by 04.05.2018 / 19:04
1
answer

error when trying to run a notification with ng-snotify

Using this library Execute the command:    npm install ng-snotify Add the css to angular.json :    "node_modules / ng-snotify / styles / material.css", My app.module.ts : - Import it like this:    import {Snotif...
asked by 28.09.2018 / 23:52
2
answers

What does .map do for an http?

I was doing a test service and from my component when calling the service and wanting to add ".sucribe" it gave me an error that the method was not an observable ... Searching on the internet I managed to solve the problem if in my service I...
asked by 17.04.2018 / 16:39