Questions tagged as 'angular-datatables'

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
2
answers

How to add buttons for each record, with angular-datatablejs?

I have the following table that filled it this way <div class="panel-body"> <script type="text/javascript"> jQuery(document).ready(function($) { $("#example-1").DataTable({ "ajax": {...
asked by 06.03.2017 / 07:27
1
answer

Error in dataTables in Server side mode in Angular

Following this guide . categoria.component.html <table datatable [dtOptions]="dtOptions" class="row-border hover"> <thead> <tr> <th>ID</th> <th>First name</th>...
asked by 18.09.2018 / 17:27
1
answer

Variable This.router undefined within a function

I'm working on Angular with TypeScript. insert a table with DataTables and in the button configuration I have an indefined error, you can support me to tell me how to use the This object within a function. I show my example code: import { Comp...
asked by 14.05.2018 / 13:56
0
answers

Type '{} []' is not assignable to type 'AngularFireListany []'

I am new with Angular , it is my first course that I take about it and I am trying to complement it with Firebase , but when I try to obtain the objects that my node contains to an AngularFireList I get this error, my code is as follows:...
asked by 04.01.2018 / 22:01
1
answer

Not data available in table

I am making requests to an API of mine made in Laravel that gives me a JSON, which maps to a table and when trying to load with DataTables shows the data but says below Not data available in table . This is the html of the table view...
asked by 15.08.2017 / 23:59
0
answers

ng-click does not work with Rows Grouping of Datatables

Hello I have a datatable that is filled with data from a query, after filling the table with the data I drawCallback (datatables) with which I create a row (row) as a grouping (Example Image) The problem is that in the title of each row I...
asked by 13.07.2017 / 01:13
2
answers

Parse data from an object inside a JSON in Angular2

I followed this tutorial to create a table with a JSON in Angular 2 . link My question is, if I had a JSON of this type: {"visitas": [{ "_id": "586b5d313406cd103c3f38d5", "fecha":"01-ene-2017", "paciente": { "_...
asked by 31.01.2017 / 22:36
1
answer

How to remove the json from the subscribe to pass it to an object?

I have a problem. It happens that I have a json data that I receive from the database, and when entering the service that the json brings me I enter the subscribe and assign the data json to a variable. but the problem is that using the varia...
asked by 27.09.2017 / 18:37
1
answer

How to mark a checkbox of a Primeng datatable?

I have this array of information this.userLanguage = response.lstLOV; that contains this data: 0:{languageId:"en",languageName:"English",seleccion:true}, 1:{languageId:"es",languageName:"Español",seleccion:false}... In my table I show them...
asked by 04.09.2017 / 22:28