Questions tagged [ag-grid-ng2]

ag-grid-ng2 is now deprecated. Please use ag-grid-angular going forward. ag-grid-ng2 was used as a project that contains the Angular components for use with ag-Grid.

216 questions
0
votes
1 answer

Ag-grid : Cell Editors Aginit get called twice

Framework : Angular6+ and Ag Grid Api I have CellEditorcomponent which implement AgEditorComponent and upon key press, I am starting edit with agApi.startEditingCells(params) and Aginit() is executed for CellEditorComponent this…
Tarsem Singh
  • 37
  • 1
  • 9
0
votes
1 answer

Display multiline text in cell that can expand collapse in Ag Grid?

Is there any way to create multi-row text in AG Grid and that could be expand/collapse feature (similar to grouped row). Example of what I am looking for can be found in RapidMiner - Statistics feature:
Suryakant
  • 19
  • 3
0
votes
1 answer

How could I add custom row focus class in ag-grid

I want to control row focus process. I need to show confirm dialog on row focus change in my table. I tried to do this with rowClassRules property, but as I understood that functionality apply classes when table rendering, after that row classes…
Max Ivanov
  • 133
  • 1
  • 9
0
votes
0 answers

ag-grid last changed cell value is not detected in viewmodel

I have my ag-grid options as follows. I am facing a problem that the last updated cell value is not getting detected. I mean, Lets say I have 8 columns in a row and I edit columns in an order, 1,2,3 and 4. The 4th updated column cell value is not…
deen
  • 467
  • 2
  • 4
  • 10
0
votes
0 answers

GridReady event doesn't work when I use a particular customCellRenderer in ag-grid

I find this a bit weird: When I use this customCellRenderer: { headerName: 'ShowChosenListColumn', field: 'chLst', cellRenderer: (params) => { return(this.chosenListsWithRowIndexes[params.data.chdCol][0] ) } …
Ahmed Ghrib
  • 695
  • 4
  • 13
  • 29
0
votes
1 answer

Data persistence in ag-grid Angular

I have built two grids Grid_A and Grid_B which both contain a column called "Activite". When the user edits this column cells in Grid_A, the same values get displayed in this column in Grid_B I have made this work through a service that communicates…
Ahmed Ghrib
  • 695
  • 4
  • 13
  • 29
0
votes
0 answers

ag-grid Cell Renderer stops working when I populate the rows with a method

I have a very simple grid as you see: This is its html code:
Ahmed Ghrib
  • 695
  • 4
  • 13
  • 29
0
votes
2 answers

Event listener works outside of the grid but doesn't work inside a cell in ag-grid

I have been struggling with making a simple listener work inside of a cell in ag-grid. What's bothering me is that it works perfectly if I place it in the html file. In app.component.html: