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 copy option not working when we enable row selection to multiple

AG-Grig context menu default option copy (cntl+c) not copying the selected rows, when row selection of gridOptions.rowSelection = 'multiple', how can we override the copy option to copy the entire row? It is working for single row, when we select…
Mahesh B
  • 33
  • 1
  • 7
0
votes
2 answers

How to implement pageSize change in Infinite row Model in ag-grid?

I am using ag-grid-community in angular 6. I have set suppressPaginationPanel=true and using Material paginator for handling paginator events. For row Model, I am using Infinite row model. My pagination next and previous is working correctly with…
Pratik
  • 51
  • 1
  • 3
0
votes
1 answer

Ag-grid css problems on enterprise

I'm using "ag-grid-angular": "^19.0.0", "ag-grid-community": "^19.0.0", "ag-grid-enterprise": "^19.0.0" But in enterprise mode I have issues with tooltip styling: Without enterprise mode everything works good. I have next…
zeitgeist
  • 43
  • 1
  • 1
  • 7
0
votes
0 answers

How to get a ng-grid to fit width like domReady does height

I'm putting several ag-grids on one page, all with less than 15 rows, but none with the same size. So I need the grid to 'snap' to the number of rows and the column width with no scroll bars. Setting griOptions.domLayout='autoHeight' worked…
mojo-jojo
  • 145
  • 1
  • 1
  • 7
0
votes
0 answers

ag-grid delete row on detail table

I have this model for ag-grid data; data = { username: string, details: [ { phoneNumber: string } ] } I want to delete a row on details table. I able to delete row/rows on master table(e.g. delete username) with using…
0
votes
3 answers

agGrid programmatically configuration

I just started implementing ag-grid in my application. I want to configure it programatically, I want to put all agGrid configuration related code into a separate function in Helper.ts. I want to use this function in all my application to configure…
Harsh Sharma
  • 910
  • 1
  • 7
  • 20
0
votes
2 answers

this.gridApi.refreshInfiniteCache() is not clearing selectedRows

I am using Infinite Row Model and when i deleted the selected row from Grid then i am calling refreshing cache so lets say i deleted the selected id = 1 but after refreshInfiniteCache(); new row comes from DB via getRows() its id = 2 and that…
Vishal Mittal
  • 336
  • 6
  • 18
0
votes
1 answer

Implement Master detail in ag-grid without an enterpirise license

Is there any way I can implement a master-detail feature in ag-grid for angular,without having the enterprise edition?
eddy
  • 4,373
  • 16
  • 60
  • 94
0
votes
3 answers

AG-Grid Angular 6 m Multiple Line header

I am actually trying to create an ag-grid with a 2 Lines of text in Header. For ex- i have 10 columns having header as 'Name', 'Address', 'DOB' and other details. For 'DOB' i want to display the date format just below 'DOB' in the header itself. so…
s.agarwala
  • 41
  • 10
0
votes
1 answer

How can we increase the fonsize of ag-grid data on context menu action?

I am using Angular 6 and ag grid version 18. I want to have an option from the context menu to increase and decrease the fontsize I want a feature something like this. I tried rowstyle,cellstyle that did not work
Sumanth Itha
  • 89
  • 1
  • 9
0
votes
0 answers

to detect column content in new row in ag-grid for angular2

I am trying to add a new row dynamically when user selects 'NEW' in ag-grid. It has only one column. And I tried so hard to capture the value in the column without selecting any other column or press 'ENTER'. But most of the methods in ag-grid…
0
votes
1 answer

How to make Ag-grid work in Storybook

I have set up ag-grid to be rendered inside Storybook. However when Storybook comes up nothing displays and the following error is displayed in the Chrome console: ERROR Error: StaticInjectorError(DynamicModule)[Ng2FrameworkFactory ->…
Naresh
  • 23,937
  • 33
  • 132
  • 204
0
votes
1 answer

Reload data from server angular

I display a table with ag grid. In order to display it I have the onGridReady in the app.component.ts: onGridReady(params) { this.gridApi = params.api; this.gridColumnApi = params.columnApi; this.gridApi.sizeColumnsToFit(); …
PierBJX
  • 2,093
  • 5
  • 19
  • 50
0
votes
1 answer

AgGrid - How can I bind my row selection with a property

I have ag-Grid with huge number of rows. I have another property which if set to true then the rows should be selected. I see that we can iterate over the rows and then set the selection to true/false. My collection is large, so I don't want to…
KPS81
  • 21
0
votes
1 answer

How do I make cells have hrefs in an AG Grid?

Using Angular 5 and AG GRID, how do I make cells have HREF? Im using the example provided here: ag-Grid Reference: Getting Started with Angular For example, I would like the 'Make' column to have an href to an edit page. It looks like the key is…
Judy007
  • 5,484
  • 4
  • 46
  • 68