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

157
Views
I'm unable to populate the hard coded data in angular using ag Grid

I'm able to display the data using bootstrap table class, but the thing here is to populate the data using Ag Grid and that too hard coded data I'm unable to do this. Please help me with this!

MY HTML CODE :


<ag-grid-angular
  class="ag-theme-alpine"
  [columnDefs]="columnDefs"
  [rowData]="rowData">
  </ag-grid-angular>

MY Angular component code :


rowData: any[]=[];
  columnDefs: ColDef[]=[];
  this.columnDefs = [
  { field: 'Name' },
  { field: 'age' },
  { field: 'Interest'}
  ];

  this.rowData = [
  { Name: 'CN', age: '22', Interest: 'Hnz'},
  { Name: 'CN', age: '22', Interest: 'Hnz'},
  { Name: 'CN', age: '22', Interest: 'Hnz'},
  { Name: 'CN', age: '22', Interest: 'Hnz'},
  { Name: 'CN', age: '22', Interest: 'Hnz'},
  ];

about 4 years ago · Juan Pablo Isaza
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!