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
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…
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…
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…
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[];
…
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…
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…
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…
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…
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…
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
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…