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.
Questions tagged [ag-grid-ng2]
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:
0
votes
1 answer
Best approach to fetch very long list of objects from back-end and load it in UI?
I have a httprequest which will fetch the list of users belonging to a company. All the users will be fetched in a single shot. I have tested my application with small amount of data and it worked. Now as the data grows its taking lot of time to…

Jeyabalaji
- 33
- 4
0
votes
1 answer
Event listener isn't working with the custom cell renderer in ag-grid Angular
I have set-up a simple column definition:
{
headerName: "Probabilité",
headerToolName: "Consultez les échelles",
field: "pbt",
editable: true,
cellRenderer: params => {
return `
…

Ahmed Ghrib
- 695
- 4
- 13
- 29
0
votes
1 answer
ag-grid's agSelectCellEditor doesn't render the cell correctly
I am using agSelectCellEditor to imlement a dropdown menu in a particular column cells.
This is the column definition:
{
headerName: "Rattachement",
field: "rattachement",
editable: true,
headerTooltip:
"Choisissez…

Ahmed Ghrib
- 695
- 4
- 13
- 29
0
votes
0 answers
Angular data-grid(ag-grid-ng2) not supported in one of the IE11(version:11.967.16299.0)
There is a problem regarding the data-grid on angular2. Which means, the event emitter is not loading when we use IE version 11.967.16299.0. The issue is only happening in the client machine, so i am not able to explore more anything without…

FabULOUS
- 21
- 5
0
votes
1 answer
Using Material Autocomplete for inline editing with ag-grid
I am facing issues while trying to use angular-material Autocomplete for doing inline edit.
Created plunk for the same: Material Autocomplete for Inline Edit - ag-grid
Autocomplete options are not coming at the expected position. I have to scroll…

Paritosh
- 11,144
- 5
- 56
- 74
0
votes
1 answer
Why input element is not getting focus?
I'm using ag-grid community edition in angular project. Requirement was to enable inline editing on tab, it was achieved, but there is another requirement which is, when navigating through tab and reached to last column and hit tab key again it…

Junaid Zubair
- 45
- 1
- 4
- 13
0
votes
3 answers
How to add Row Header in Ag-grid?
Please refer to the image shown below. (The highlighted part is the ROW header that I need in AG-Grid)

Joseph Nannepaga
- 175
- 1
- 3
- 14