Questions tagged [primeng-datatable]

Questions about the PrimeNG DataTable component from PrimeTek Informatics.

Useful Links

474 questions
0
votes
2 answers

PrimeNg dropdown in editable datatable not holding the selected value

Below is the code for the column in the datatable
user1613338
  • 153
  • 1
  • 2
  • 9
0
votes
1 answer

resize row length proper using PrimeNG Datatable?

How can i solve this problem I want to resize row length proper using PrimeNG Datatable? Now My Data Display Like These And I want to change Like These
0
votes
0 answers

Angular 4 - Ngprime datatable sorting by many columns by default

I am using ng prime Datatable for to work with tables. This is my code html:
Eladerezador
  • 1,277
  • 7
  • 25
  • 48
0
votes
1 answer

p-datatable rowStyleClass doesn't style every row

I'm using , and the method in my component looks like this: newRowFormat(rowData, rowIndex) { return('newRow'); } And in the component CSS, that class newRow looks like this: :host /deep/ .newRow…
twosouth
  • 171
  • 3
  • 12
0
votes
1 answer

How to disable last page button in primeNG datatable?

I want to disable last page button in the primeNG datatable div. The paginator is in the p-datatable tag. code :
Neilson3r
  • 129
  • 1
  • 1
  • 9
0
votes
0 answers

Is it possible to have dynamic dropdown inside table using primeNg in Angular?

The sub-category column need to be dynamically populated based on category column value. When I try to select category value, it populates all the row in the sub-category column instead of the specific row. Please suggest how to change value of only…
0
votes
1 answer

Running two subscription methods in one in order to get results in Angular 5

My app contains two components. One gets items from the API and lists them. When an item is clicked, it passes detailed information to the second component that uses a PrimeNg datatable, which then displays it. Because the second component is…
averroes
  • 171
  • 3
  • 16
0
votes
0 answers

How to set primeng datatable to export cvs without undefined in no data column?

when I export a datatable with some no data columns, I get the "undefined" in the column. So I want to get nothing in the column, how can I set the datatable component? export class DataTableExportDemo implements OnInit { cars: Car[]; …
bambooj
  • 26
  • 3
0
votes
1 answer

How do I get the Angular pTooltip to show using PrimeNg?

I'm using PrimeNg and I have a data table. When I hover over the row/cell I want the contents of that cell to display in a pTooltip. When I do: {{statement.description}} The table does not display. If I do: statement.description the table shows…
averroes
  • 171
  • 3
  • 16
0
votes
1 answer

Angular 2 PrimeNG build DataTable from multidimensional array

The server API returns data in the following form: export interface Response { cols: string[]; rows: string[][]; } cols array contains header names, while the each element of rows is an array containing some values, so the example of the…
Nikita Marinosyan
  • 747
  • 2
  • 8
  • 26
0
votes
0 answers

How to use tool tip in prime ng dynamic data table for Angular 4

I am using primeng datatable with Angular 4,having dynamic rows. how I can show a tooltip whenever a user hovers over a row in my primeng datatable? Also, the tooltip needs to display a created and updated date coming from the API server.Each row…
0
votes
1 answer

primeng with nested json in angular 4

I am using p-dataTable with following JSON object skuReportList:any[]= [ { 'sku':102, 'name':'APRON 4WAY', 'deliveryrange':[ {'date':'10/12/17','qty':'34','drivername':'abc','type':'special…
Jellaraj Yadav
  • 51
  • 1
  • 3
  • 6
0
votes
2 answers

Cannot read property 'exportCSV' of undefined in Primeng Datatable

I'm using primeng datatable on my project as the logic i'm using two datatables 1. lazyload while page loading here service data have pagination and 2. another one for filter by category here service data have now pagination I want to export the…
Nithiyakumar K
  • 22
  • 3
  • 12
0
votes
0 answers

Angular 2 table row validation

I'm try to do table row and I'm getting an error saying property 'errors' is undefined or null. Name.errors is blowing up. Any ideas on what I'm missing. See my code below. Got idea from Angular 2 table row control validation Thanks
0
votes
2 answers

PrimeNG datatable not editable

Hi I'm trying to use primeNG for datatable but the output is just a basic table with no properties of it applied. Component: import { Component } from '@angular/core'; import {AccordionModule} from 'primeng/primeng'; //accordion and accordion…
Harshini
  • 459
  • 1
  • 7
  • 23