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 material theme row and header height not working
As suggested in documentation, i have tried below properties first.
this.gridOptions.rowHeight = 25;
this.gridOptions.headerHeight= 28;
But it ended up like below:
grid
We have also tried the material css property changes, but didnt see any…

Harsha vardhan
- 13
- 5
0
votes
1 answer
AG-GRID - Unable to fetch data from REST
i,ve been pulling hair with what I tought was going to be a simple code. I admit that i am quite new to typescript and learning as I go but more familiar with javascript.
I am basically creating a SPA (Single Page Application) using AG-GRID as my…

Daniel Ellison
- 1,339
- 4
- 27
- 49
0
votes
1 answer
How to copy rows from one ag-grid to second ag-grid
I've two ag-grids on my UI.
Ag-grid 1 has 4 rows. Ag-grid 2 has 5 rows. Both ag-grids have same columns.
I want to copy all the rows from Ag-grid 2 to Ag-grid 1 on some button click.
How can I do that?
Expected result:
On button click.
Ag-grid 1…

RV.
- 2,781
- 3
- 29
- 46
0
votes
1 answer
AG Grid valueGetter + Pagination
I am using ag grid (angular2) for rendering table and uses valueGetter feature to render row data to ui.
I would like to add onscroll pagination to my ui, but couldn't find a way to use datasource.
`gridOptions.api.setDatasource(ds);`
How to…

Shyam Devasia
- 105
- 5
0
votes
1 answer
Aggrid Enterprise trigger onExpandOrContract onRowClicked
I am trying to use the enterprise model but when grouping (full row group), I can only expand/collapse on the small icon.
I want the whole row to be clickable, but enterprise doesn't use onGroupExpandedOrCollapsed and there's no other way to trigger…

Ngoc Nam Nguyen
- 493
- 6
- 15
0
votes
2 answers
Can we lazy load data for dropdown while doing inline edit?
I am working on inline-editing functionality with ag-grid.
As per official documentation: ag-Grid Cell Editing, we can provide dropdown options values while providing column definition colDef itself.
colDef.cellEditor =…

Paritosh
- 11,144
- 5
- 56
- 74
0
votes
1 answer
Custom filter: can I have custom buttons for filter?
I am trying to have my own custom filter on ag-grid angular.
Apart from Apply button, I also want to have other buttons for the filter. i.e. if I can explain this in some sort of UI,
|--Custom Filter-------------------.
| Filter Text: _____________ …

Paritosh
- 11,144
- 5
- 56
- 74
0
votes
1 answer
How to check if a rowNode is in the search result [Aggird]
A quick question about ag-grid. When looping through forEachNode function, how can I tell if a rowNode exists in the grid search result (i.e. visible)?
Thanks in advance.

Ngoc Nam Nguyen
- 493
- 6
- 15
0
votes
1 answer
Is it possible to open and close a custom floating filter in ag-grid?
Is it possible to open and close or to show and hide custom floating filters in ag-grid, for example if a button was clicked?
If you initialize the table, only the header should be visible. Then after a specific button was clicked, also the floating…

JohnDizzle
- 1,268
- 3
- 24
- 51
0
votes
1 answer
Ag-Grid : Cannot read property 'api' of undefined
I am using custom pagination control. To initialize the control I am calling gridOptions.api.paginationGetPageSize() and gridOptions.api.paginationGetRowCount(). I tried calling the two api methods on onPaginationChanged and onGridReady, everytime I…

Maverik
- 411
- 4
- 22
0
votes
1 answer
Resizing and re-ordering in ag-grid is not working on IPAD in angular 2
Is there any support for ag-grid in Ipad ?
Grid is loading perfectly and all the events are working fine.Only resizing and re-ordering is not working in ipad.

kiran kumar
- 81
- 1
- 4
0
votes
1 answer
ag-grid not loading data rows from web api output in angular2
I am calling web api to get rows and then load this data in ag-grid. But grid gets initialized before the json data is returned, so not able to show. Here is my code.
myComponent.component.html

ghetal
- 403
- 2
- 11
- 30
0
votes
1 answer
Ag-Grid : search Option in Rich select
How can I search in Rich select? Any options like autosuggestion or typing fist character can be useful. In these cases, will the cursor directly go to that name?

user5080844
- 1
- 1
0
votes
1 answer
How to debounce on showing loading overlay template
I'm using ag-grid and ag-grid-angular v9.0.0. I need to show loading overlay template after 2 seconds if the rows are empty otherwise hide it. Currently it shows instantly and goes away after rows are rendered. Any clues or suggestions on how to…

Sudhakar
- 2,904
- 8
- 33
- 47
0
votes
2 answers
ag-grid Angular "colDef.cellRendererFramework.component is deprecated"
Since previous version of ag-grid we could pass a Component as a dependency into our cellRendererFramework like this:
{
headerName: "Clickable Component",
field: "name",
cellRendererFramework: {
component:…

George Knap
- 843
- 9
- 30