i'm recieving data from an api which has a date and i'm using primeng table components to display this data all filters are working fine, only date filter is not working i'm using date pipe to transform the string date into a date before displaying…
I am using p-table along with checkboxes for rowSelection. On Selection Of every checkbox I need to Call API And fetch Data. Below is my code for Declaring table. On Check of row, event is triggered multiple Times, IdeallY it should trigger only On…
I am putting a demo for a client using StackBlitz
StackBlitz
The error being shown is
Error in /turbo_modules/primeng@14.1.2/fesm2015/primeng-table.mjs (4051:169)
can't access lexical declaration 'ColumnFilter' before initialization
I am not using…
I want create a new editable row by default when clicking "ADD NEW button".
like below screen shot. When I click "+" button a new row will create. once I edit that row and click "done" button the new row will submit.
I have tries below code. a new…
From my Angular code, I'm calling a synchronous method where there is an asynchronous call to a service(myService) which sets the value of a variable(myVariable) inside it. This variable myVariable in turn is bound with a p-datatable object like…
I'm using Angular 13 and ngrx/data, store and entity (v.13). I have set up my ngrx/data service
export class MyObjService extends DefaultDataService {
...
}
and then a component using PrimeNg. I have a table to display all my…
In my backed application (Spring boot), I have a method who get a Pageable (page and size)
when I implement my table in angular, when I pass just the page with the normal size of rows are ok, but when I change the rows it will get a random page…
I am using PrimeNG's p-table. The table currently has default sorting on two column but the third column data is like it should sort by Status (High, Medium, Low). Now I need to implement sorting on this column but that has to be a custom-logic…
Row Group feature works well until I set virtual scrolling to true it stops working. I inspected the table element and found that the group header row totally disappears in virtual scrolling mode. I forked PrimeNg Stackblitz demo with…
I created a brand new Nx workspace using npx create-nx-workspace@latest and installed PrimeNG using npm install primeng --save
Then, I tried to import TableModule in app.module.ts file of the generated app:
import { TableModule } from…
If I add some rows to the table, the table view gets dynamically updated, but the filters I apply reflect only initial data.
For eg, if I apply the filter "startsWith" on a header called "Title" with a filter value of "zaalim", then if the initial…
I am pretty new to ReactJs & trying to make a project to learn. I am using PrimeReact UI Component Library. Everything is working fine but facing issue with accessing row data into functions.
Reference -…
I have a normal prime Ng table which is scrollable vertically. However, if the screen size is too small, I end up with the normal page scroll aswell as the table scroll.
Is there a way around this? To make the table the size of whatever the screen…