Skip to content

[BUG?] Angular 19 - RevoGrid does not display columns nor source #798

@tkopitsc

Description

@tkopitsc

Short Description of the Situation

I’ve installed RevoGrid in the company template to see if it is only broken in the other applications which are already live or it’s a general problem.
My findings were that there is a general problem, but I am not sure why it is acting like it does.

I setup the bare minimum setup from RevoGrid and the table frame is displayed but the columns and source are not.

Setup in the project

Used RevoGrid version: @revolist/angular-datagrid: 4.19.3

I also tried with previous versions e.g. 4.15.8, 4.16.0, 4.17.3 still the same behaviour

home.component.ts

import { Component } from '@angular/core';
import { CommonModule } from '@angular/common';
import { RevoGrid } from '@revolist/angular-datagrid';

@Component({
  selector: 'tasks',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.css'],
  imports: [CommonModule, RevoGrid],
})
export class HomeComponent {
  source = [
    {
      name: '1',
      details: 'Item 1',
    },
    {
      name: '2',
      details: 'Item 2',
    },
  ];
  columns = [
    {
      prop: 'name',
      name: 'First',
    },
    {
      prop: 'details',
      name: 'Second',
    },
  ];
}

home.omponent.html

<revo-grid style="height: 200px; width: 200px" [columns]="columns" [source]="source"></revo-grid>

Inspected behaviour

Application:
Image

Angular DevTools:
Here you can see that the revogrid component has its source and columns set (first is source, second is columns)
Image

On other applications we have a different behaviour of the revogrid table, there the plugins and the readonly which is set on the table are stopping to work. But the table renders as expected.

My assumptions are:

  • Either there is a silent error which is not displayed
  • A other installed package is making trouble - also no error message

Why this assumptions:

I updated the Demo Application Inventory List, so that it uses angular 20 and revogrid 4.19.3 and it is working fine.

Would be great to receive some support on this topic because it is currently blocking us from releasing features.
I will make some more tests, if you have some suggestions i will be happy.

Metadata

Metadata

Assignees

Labels

angularThis issue or pull request already existsbugSomething isn't workingquestionFurther information is requested

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions