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
2
votes
1 answer
Export JSON to excel (csv) using Ag-grid
I want to export the json data to excel using Ag-grid. I want to keep the Ag-grid hidden(not-visible on UI) and just have the hyper link on UI to download the data in excel format.
Column Definition:
this.columnDefs = [
{headerName:…

RV.
- 2,781
- 3
- 29
- 46
2
votes
3 answers
Column edit on undefined field with ag-grid
I have configured the ag-grid for the column definitions like this below
{
headerName: 'Model Level',
field: 'ModelLevelTimeSeries.Id.Value',
editable: false,
cellRendererFramework: RenderEntityComponent,
…

Herman
- 2,832
- 6
- 25
- 37
2
votes
1 answer
Autosize column not working in ag-Grid with RxJS
I'm using ag-grid for representing some data in UI. I have a problem with auto-sizing columns after setting row data using RxJS.
I have a code which set the data:
this.accountingStoreService.getPurchaseOrders().subscribe(
purchaseOrders => {
…

Roman Kopyrkin
- 21
- 6
2
votes
2 answers
Ag-grid to show both loading and no data overlays
I am working with Ag-grid and I found that only one of loading and no data overlays can be shown at a time.
My situation is that at the beginning, I have no data and a loading observable. I subscribe to that observable and manually call the grid api…

Ngoc Nam Nguyen
- 493
- 6
- 15
2
votes
1 answer
How to use ag-grid checkbox with angular
How to bind the checkbox value with event.and how to access the curresponding data?
home.ts
columns = [
{
field: 'reportingLocation',
headerName: 'Reporting Location '
},
{
field: 'country',
headerName: 'Country Name'
},
{
field:…
user7523193
2
votes
2 answers
ag-grid : Disable cell edit on key press and pro grammatically enable row edit with edit button (Angular 2)
I have a edit button on each row and I have set
defaultColDef: {
editable: false,
}
in the grid options
I want the row to be in edit mode when I click on edit button. My edit button works fine if I set
defaultColDef: {
editable:…

Teja Reddy
- 99
- 1
- 2
- 9
2
votes
4 answers
Select row without checkbox being checked
I'm using ag-grid:
https://www.ag-grid.com
I've tried the following grid options:
rowSelection: 'multiple',
suppressRowClickSelection: true,
rowDeselection: true
This results with rows not being selected when clicked...
And i try to achieve row…

user3688064
- 103
- 1
- 9
2
votes
1 answer
Angular 2 ag-grid's Clear Filter button clears the textbox without refreshing column when built-in filter is used
When ag-grid's default filter is enabled, the clear filter button only clears the text box and doesn't refresh the column even though 'clearButton' and 'applyButton' params are set to true. After clicking the Clear filter button the text gets…

Mohammad Umair Khan
- 410
- 6
- 14
2
votes
5 answers
cellRendererFramework no component factory found ag-grid angular2
Trying to use cellRendererFramework(v13.1.2) with angular2 but getting this error instead:
ProductComponentComponent.html:7 ERROR Error: No component factory found for [object Object]. Did you add it to @NgModule.entryComponents?
at…

Stack-Overflow-User-0
- 21
- 1
- 7
2
votes
0 answers
Ag-grid-angular How to capture click in column header
Is there a way to capture click event on header .
similar to rowClicked event on rows .

V Deephak
- 21
- 1
- 2
2
votes
1 answer
ag-grid overlayLoadingTemplate add hyperlink and click enable
I am using ag-grid ,while loading the data I want to show the message using overlayLoadingTemplate and also hyperlink for cancel the loading if it take more time to load the data . we added hyperlink but it was not clickable . How to clickable the…

user3106878
- 21
- 4
2
votes
5 answers
Angular4 ag-Grid: API of GridOptions is undefined
I am using the free Version of ag-Grid in my Angular 4 Application.
In the following code I want to resize the grid automatically in the constructor:
constructor(private modalService: NgbModal) {
this.gridOptions = {};
const…

Philipp Januskovecz
- 868
- 5
- 14
- 25
2
votes
0 answers
How can i render json to ag-grid Angular2/typescript
I'm trying to render my json data in an ag-grid in Angular2/Typescript. I saw many tuto like ag-grid cell rendering error with no success.
I know how to render static data, but dynamicaly from json, i couldn't.
please could someone have an idea to…

steky
- 21
- 1
1
vote
0 answers
ag-grid: Customize rowData
I have to make UI as show below, using ag-grid and angular. The 1st column will be pinned. The yellow colored time is the current time and the data which I am getting from service is someting like this:
{
"table_header": [
{
…

Anna
- 1,669
- 7
- 38
- 63
1
vote
1 answer
AG Grid 26.0.0 Angular 12.2 Server Side Pagination with Infinite rowModelType issue
I have created AG Grid with Server Side pagination using infinite rowModel and it all works fine. I have implemented page size change as well, but i am seeing a strange behavior when i change the size and i scroll down (it seems it gets the same…

alext
- 678
- 1
- 11
- 25