ag-grid Questions
4
Solved
I'm using ag-grid to display a table which has a Row Grouping.
The column that I group by is invisible since its value holds no meaning.
So for example, I will have the following (fully collapsed)...
Strangeness asked 3/2, 2019 at 14:36
9
Solved
I'm trying to remove the filter icon in ag-grid whilst keeping the filtering box
Right now I'm trying to use pure css to hide the icon which in webpack just adds the aria-hidden="true"
CSS I've t...
3
I'm using AgGrid table in my application. Here is the demo. According to the documentation i want to stop movement of the columns. For this i used:
suppressMovable: true
The above code I used here...
Chemash asked 15/9, 2020 at 14:2
6
In ag-grid, when I want to retrieve the row index I use:
params.node.id
However, I couldn't find a way to do the same for columns.
All that I found is retrieve the columnId which refers to the ...
3
Solved
when using ag-grid, I want to set the first column header to be a checkbox,and do the select all or deselect all column action on all rows other than only groups.
Jerol asked 18/1, 2016 at 2:44
4
Solved
So my ag-grid resize itself because my row height is also dynamic. So for height I am using [style.height.px]="beta" and this.beta = document.getElementsByClassName('ag-full-width-container')["0"]....
Enclitic asked 13/4, 2020 at 6:20
7
Solved
All my searches turned up for sizeColumnsToFit and autoSizeColumns which is not what I want.
My grids have many columns, so it scroll horizontal which is fine
But I cannot know in advance what w...
Pozzy asked 13/8, 2018 at 12:57
2
Solved
I would like to remove the column menu. I can simply display: none it, but it seems a waste to process and render it in the first place. I can only find options on how to edit items inside the menu...
Ralleigh asked 24/1, 2018 at 15:11
4
I am trying to pass isRowSelectable dynamically as a prop to an AgGridReact. In the following toy example, You expect that clicking the "Switch criteria" button will change the set of ite...
Cartouche asked 22/9, 2020 at 17:23
2
The loading overlay applies fine on initial load.
HTML
<ag-grid-angular #agGrid style="width: 100%; height: 550px;"
class="ag-theme-balham" [gridOptions]="gridOptions"
[rowData]="filtere...
4
Solved
I have the following style:
.ag-theme-fresh .ag-row-selected {
background-color: #bde2e5;
}`
It comes from a css style file of a theme. But I want to overwrite it with this style:
.ag-theme-f...
4
Solved
How to get the focused cell value at the time focussing on the cell by using the keyboard arrow keys
Generality asked 17/7, 2018 at 15:44
6
Solved
According to ag-grid, the column order will follow the order they were specified in column definitions. Reference
But this is not working when working with ag-grid-angular. Some columns are showing...
Guillermoguilloche asked 20/10, 2020 at 20:49
3
Solved
It's like this (but start from 1):
Please note the number is for the row element of grid instead of row data of the source. So the number shown in the first cell of each rows should indicate the...
Kedron asked 22/5, 2018 at 22:47
4
I am scratching my head on this one but I am starting to think it may be a bug in ag-grid.
I have a grid that is (inconsistently) only rendering 3 rows of data when I am expecting 5. There is a bl...
Cochineal asked 7/7, 2016 at 23:1
3
I am using ag-grid, I want the columns width to be dynamic according to the grid content,
I do it by using:
const onGridReady = params => {
params.columnApi.autoSizeAllColumns();
};
but the wi...
Grove asked 6/12, 2020 at 15:51
2
I am using ag-Grid with TypeScript and trying to create an async value setter in my column definition.
const columnDefs: ColDef[] = [
{
headerName: 'Name',
field: 'name',
editable: true,
valu...
Nightstick asked 9/1, 2020 at 13:29
3
Solved
I have a cell renderer that returns the name property and objects on a row:
const nameRenderer = ({ value, data }) => {
const { id: queueId } = data;
return (
<Box>
<div className=&...
Dysgraphia asked 19/9, 2020 at 1:52
4
I have a column in a table which has only buttons in it. The button is a download button. I dont what this column to be exported when i click on export to csv. Can this be done?
Alurta asked 7/6, 2018 at 7:33
4
I am using ag-grid library for advanced data grid.
In ag-grid library, I can define "minWidth" and "maxWidth" attributes in "columnDefs" to set minimum and maximum width for particular column.
Bu...
Mignonne asked 22/4, 2016 at 23:42
8
How can I obtain and re-set the state of an ag-grid table? I mean, which columns are being show, in what order, with what sorting and filtering, etc.
Update: getColumnState and setColumnState seem...
Urquhart asked 15/3, 2017 at 13:19
10
ag-grid provides a way to get selected rows using api.getSelectedRows() function. And provides a way to set all rows using api.setRowData([]) function.
I'm looking for something getAllRows() to ret...
4
Solved
I'm posting this here because this wasted a fair bit of my time today.
I was trying to set the RowNode.id from the data in the objects I set aggrid's rowData property to. meaning, I wanted to use a...
Expeller asked 22/3, 2018 at 21:14
0
In my angular project I need to add data-test-id attribute to the sort indicator part in the default template that ag-grid provided as follows:
<div class="ag-cell-label-container ag-header...
Umiak asked 23/2, 2024 at 11:57
3
I am trying to update a field in ag-grid and it keeps coming back with ERROR TypeError: Cannot assign to read only property 'quantity' of object '[object Object]'.
It allows me to edit the cell bu...
1 Next >
© 2022 - 2025 — McMap. All rights reserved.