I have p-table with sortable columns. However, initially I want the table to be sorted by a specific column, I use sortFiled for that. But this column is not known till run-time.
Here is a snippet of the table:
I am struggling with filtering a dataView with a dropdown menu using NgPrime. It's specifically the dropdown that's giving me a hard time. In fact, I have a working pInputText that filters the dataView for the same thing which tells me it's my…
i am new to PrimeNG library, i want to customize the primeng table column drowndown for filter
i got this mock up from design team, i want to add apply button to filter the records based on the checked checkboxes and also select all checkbox..
i go…
Overflow Community, I want some help on Angular PrimeNG data-table.
Currently what is happening is row-index is assigned against each row and works fine but when I apply search filter on row-index got updated again from 0.
What I want is to attain…
I am getting this error in every edit form of my application also i am getting an error "formGroup expects a FormGroup instance. Please pass one in."
But I think I have done everything properly. Please review...
edit-account.component.ts :-
…
I want to go to some specific page when I have selected the Item in that field. I have tried the following way
import {DataViewModule, DataView} from 'primeng/dataview';
// ...
@ViewChild('dataview') dataTable: DataView;
// ...
if…
I have a function called "extract" in component "ExtractComponent" which posts some data. When i click on the button "extract" im sending the user to another route to "ExtractedComponent", this component uses a shared component template with some…
I've following PrimeNG Table Here is the StackBlitz demo.
https://stackblitz.com/edit/datatablevalidation
Only one column "Value" is editable.
In "Value" column, I want to add some validation based on the column "Type".
I am rendering column value…
I am using primeng datatable in multiple tabs, so for example, I have three tabs and each has a data table, all columns in my table have a search filter.
User filters the table to get some column there are about 3000 columns in the table, an then…
I actually require to traverse to another component with the data selected on click of row. I have been using p-table to perform the same. I have totally no idea why. onRowClick / onRowSelection doesn't get triggered at all.I even added a…
I am working on an older project which uses prime-ng's p-datatable. The table currently has default sorting on one column. Now I need to implement sorting on another column but that has to be a custom-logic based sorting.
I tried searching for the…
I'm trying to sort a column that has template. My understing is that when a column uses a template, the sorting should be done by responding to the sorting event.
…