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
0 answers
Setting the focus after refreshView/ refresh cell is not working in ag grid angular 2
I have a cell renderer which is a text box.
Whenever i write something in text box i update the data in other rows based on…

Deepender Sharma
- 460
- 1
- 5
- 25
0
votes
1 answer
Duplicating the rownode on button click in ag grid
How I can clone the row in AG grid, also cloning should have the same data whichever row was cloned. Although data can be further editable.

Deepender Sharma
- 460
- 1
- 5
- 25
0
votes
1 answer
Delete button ag-grid angular2
I'm trying to add a delete button for a list of elements in a ag-grid table.
I created a component for the button and I'm able to remove the row with
...
export class AgGridButtonDeleteComponent implements…

mstrobilo
- 53
- 5
0
votes
1 answer
Angular - Ag-grid cellRendering only on one column header
Right now i managed to render to columnheader for all columns (See Screenshot).
But my goal is to apply the cell renderer only for 1 SPECIFIC column.
I am using Angular 5 and ag-grid/ag-grid-angular 17.0.0
My parent component looks like (For the…

MarcoLe
- 2,309
- 6
- 36
- 74
0
votes
1 answer
Ag grid Angular 2+ , Way to supress multiple cell selection
Is there any gridConfig property to suppress multiple cell selection in ag-grid?
When I select cells using Shift/Ctrl I don't want multiple cells to be selected.

Riya
- 794
- 2
- 9
- 17
0
votes
1 answer
Pin folders to bottom on descending sort in Ag-grid
I am new to ag-grid and trying to achieve a feature for sorting the rows.
I have a list of folders and reports in my grid. I was able to pin the folders on top while using the postsort in ag-grid. This is basically an ascending sort by name and pin…

Deepender Sharma
- 460
- 1
- 5
- 25
0
votes
1 answer
How to set the visibility for row drag default icon in ag-grid angular 2+
In gridColumns i am setting the rowDrag: true. This creates a default icon for all the rows having children or single rows. But i wanted to have this icon only for particular rows by setting the visibility of a drag icon as hidden.
More over if i…

Deepender Sharma
- 460
- 1
- 5
- 25
0
votes
0 answers
Share modules between two Angular 2 Apps
My project consists of two seperate Angular Apps that have to share a module.
It's working perfectly in App A but when I create a relative import from App B to A it throws a StaticInjectorError.
ERROR Error:…

Jason
- 654
- 1
- 11
- 27
0
votes
0 answers
how do i dynamically create ColumnDefs and Headers in ag-grid for Angular?
I have a JSON file:
{
"Tab1" : [
{ "Column1" : "DummyData1",
"Column2" : "DummyData2",
"Column3" : "DummyData3",
}
],
"Tab2": [
{…

Sajan A Jain
- 1
- 1
0
votes
1 answer
Ag-grid batch calls for data loading
I am using ag-grid for display. I don't want to bring complete data in one go.
e.g. i want to bring 11-20th page data when user on 10th page
How can i implement ?

Vaibhav Phutane
- 52
- 10
0
votes
2 answers
Ag-grid - disabling Side button
fairly Simple question regarding the new balham theme on Ag-grid.
Id like to disable the side button and the tool panel completely as shown in the link below:
https://www.ag-grid.com/javascript-grid-tool-panel/
I can hide the tool panel, but cannot…

jjharrison
- 841
- 4
- 19
- 33
0
votes
0 answers
ag-grid How can I get row groups count in grid?
I use ag-grid context menu and want to disable some items if there is no any row groups in grid. So how can I get row groups count in grid?
I use ag-grid with Angular 5.
0
votes
2 answers
Need to update cellEditor Params dynamically
Need to pass value to cellEditorParams after user double clicks on grid row. Application calls service on row click and the response has to be pass to cellEditorParams?

Rajkumar Rathi
- 299
- 2
- 6
0
votes
2 answers
tooltip was hidden by pinned column
visions:
angular: 2.4.9
ag-grid-angular: 16.0.0
bootstrap: 4.0.0-alpha.5
ngx-bootstrap: 1.6.6
I use ag-grid to frozen the first two column of table, and then overwrite tooltip width which is longer than the second column. Then it looks like…

Y. Ping
- 13
- 5
0
votes
1 answer
call component user define function in ag grid cellClick() event
I have created
this.xxxsetgridOptions = {
rowSelection: 1,
columnDefs: this.setvsp_param_columns,
onCellClicked: function (params) {
params.node.data["is_row_update"] = 1;
this.setValidator();
…

Pratik
- 11
- 1
- 6