Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

524
Views
PrimeNg grid system is not working as per the documentation

I am using PrimeNG in my application and have installed all the required dependencies as per the official documentation. I am trying the example of the grid system available on their website and it's not working.

Here's the code:

<div class="p-grid">
    <div class="p-col">1</div>
    <div class="p-col">2</div>
    <div class="p-col">3</div>
</div>

Here are styles in my angular.json file

"styles": [
          "./node_modules/bootstrap/dist/css/bootstrap.min.css",
          "./node_modules/primeicons/primeicons.css",
          "./node_modules/primeng/resources/themes/nova/theme.css",
          "./node_modules/primeng/resources/primeng.min.css",
          "./node_modules/primeflex/primeflex.css",
          "apps/customer-application/src/styles.scss"
        ]

It's printing all these three lines vertically (in a single column) but, as per the documentation it should print it in a single line i.e, horizontally (in 3 different columns). I am using Angular 12+ and running my app over Nx CLI. Any help would be appreciated!Thanks

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

They removed the p- prefix for primeflex classes in the most recent version (3.x).

See here for the migration path.

See here for the latest docs.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!