1,079 questions
1
vote
1
answer
74
views
How do I make the filter ignore case and spacing?
I've inherited some React code which uses AG Grid; I haven't delved into it much because it has pretty much just worked, but now I'm stumped on an issue.
I have a table with a postcode field, defined ...
1
vote
0
answers
119
views
Why does AG Grid not allow Backspace to act as a delete key on Windows/Linux?
Current behavior
Windows/Linux: Pressing Backspace on a selected cell starts cell editing.
macOS: Pressing Backspace on a selected cell deletes the cell content.
Expected behavior
In standard ...
0
votes
0
answers
53
views
How to make number type cell editors accept cell expressions?
agNumberCellEditor accept doesn't accept cell expressions.
This expression =9+1 resolves to 10 with agTextCellEditor but not with agNumberCellEditor. Not able to type "=" into the number ...
0
votes
0
answers
37
views
AG-Grid lag between cell selection and row selection
I have AG-Grid with high frequency updates and I am using transaction api from AG-Grid.
Everything seems to work fine e.g. using keyboard to move cell and cell selection when clicking the cell both ...
0
votes
0
answers
20
views
Ag Grid enterprise edition -serverside rowwModel unit test case with Jest issue
i have a pretty simple code with rowModelType=server side
UI is working as expected
When tried unit testing with jest, can't assert on any cell data nothing is visible in test file
When tried to log ...
0
votes
1
answer
83
views
How to disable caching and fetch group parent rows on every page change?
I'm using AG Grid with the server-side row model, along with pagination and row grouping.
Playground - https://plnkr.co/edit/VRqkoRfryOeoJgVl?open=index.jsx&preview
I want the grid to fetch data ...
0
votes
0
answers
58
views
Cell Renderers on AG Grid detail subgrid
I've been implementing the Master/Detail functionality on an existing AG Grid and the cellRenderers don't seem to be getting applied to the cells in the detail grid. Looking at the documentation I ...
0
votes
0
answers
93
views
AG Grid: How to filter date values when displayed in localized format using Date.toLocaleDateString()
I am using ag-grid in a React application and have a date column where the data is stored as YYYY-MM-DD strings. I display the dates in a localized format (e.g., MM-DD-YYYY for US) using a ...
0
votes
1
answer
183
views
Can you make a cell span 2 rows and columns with AG Grid (React)?
I have seen examples of row spanning and column spanning, but have yet to find an example of the two combined anywhere.
I have looked through the documentation, here are the separate links:
https://...
0
votes
0
answers
76
views
Ag-grid's advance filtering not working with datetime column
I have a column with columnDef as -
const expiryDateColDef = {
colId: 'expiryDate',
headerName: 'Expiry Date',
field: 'expiryDate',
filter: 'agDateColumnFilter',
cellDataType : '...
0
votes
0
answers
82
views
Ag grid: SSRM row grouped data render as flat view
In AgGrid SSRM.I am using group display=multiple columns. I have a use case where I have to render the grouped data as flat view instead of nested(parent-child). How to achieve this behavior?
2
votes
1
answer
99
views
Ag-Grid ReactJS checkbox cell with aligned center items has issue when cell is clicked using TypeScript
I have a 3-column grid. The first column is a checkbox aligned in the center cell, which is editable (can be checked/unchecked).
My issue is that when I click the cell outside the checkbox item, the ...
0
votes
1
answer
179
views
Retain edited cell value onblur or click away ag-grid reactjs using typescript
I have grid using ag-grid reactjs typescript that has 3 columns. The 3rd column named "Value" is editable. I was able to edit the value but when onblur event, I lost the edited value and the ...
1
vote
0
answers
54
views
How to implement date and time filter together for ag grid table column?
I want to filter the column in ag grid for date and time together ag grid doesnot support date and time filter together.
I tried using only time but the filtering is not happening in ag grid it is not ...
0
votes
0
answers
50
views
AG Grid: Hide rows with eye icon and show "Show hidden rows (X)" inline between rows
AG Grid: Hide rows with eye icon and show "Show hidden rows (X)" inline between rows
I'm building a feature in AG Grid where users can hide individual rows using an eye icon in an "...
1
vote
1
answer
112
views
In Ag grid react version 33.2.x, custom styles not reflected
I am using ag grid react version 33.2.4. I have a valid license key for enterprise version. I have customised some styles using themeQuartz but the styles are not reflected.
import { AgGridReact } ...
0
votes
1
answer
117
views
Ag-Grid: Return "default" group cell renderer
I have an ag-grid with grouping using the "singleColumn" group styling. I want to use a custom renderer in my group column, but I only want it to be applied to the "individual" ...
1
vote
0
answers
125
views
AG Grid makes multiple API calls on filter change when using server-side row grouping
I'm facing an issue where applying filters in my AG Grid with server-side row grouping is triggering multiple API calls. In some cases, it even results in continuous API calls.
This only happens when ...
2
votes
0
answers
56
views
AG Grid React Crashes Inside Tableau Extension Due to Invalid CSS Selector ':not(title, meta)' DOMException
Description
While using AG Grid v33.2.1 within a React application embedded as a Tableau Dashboard Extension inside Tableau Desktop, I encounter a DOMException due to an invalid selector originating ...
-3
votes
2
answers
281
views
How to Capture Full AG Grid (Including Off-Screen Content) as an Image? [closed]
I'm working on a React application that utilizes AG Grid to display large datasets with over 20 columns and 10,000 rows, necessitating both horizontal and vertical scrolling. I need to capture the ...
0
votes
0
answers
54
views
upgrade React ag-grid enterprise 28+ to ag-grid 31.3.4 streaming response freezing the page
grid community,
I am facing an issue where I am upgrading my React application ag-grid from v28+ to V31.3.4, it is a streaming chatbot application where user asks a prompt and API returns streaming ...
0
votes
0
answers
66
views
AG-Grid-React: Use separate valueGetter for each filter in agMultiColumnFilter (MultiFilterModule)
Context:
I am working with AgGrid react to display some data,
let's say this format:
type Vehicle = {
modelName: string;
manufacturer: 'BMW' | 'VOLVO' | 'Mercedes' | 'Fiat'; // more brands...
...
0
votes
0
answers
128
views
Implement lazy-loading using client-side rendering in AgGrid
I am unable to manually implement lazy-loading in the grid using client-side rendering. The reason for not using row model 'infinite' or 'server-side' is that we do not want to make changes in the ...
0
votes
3
answers
344
views
agGrid React: CSS blocked "refused to apply inline style" [closed]
I'm using the React version of agGrid v33.0.4 with React 18, and when I run my React app locally, it works fine; the agGrids look great.
However, when I deploy my React app, none of the agGrid's CSS ...
0
votes
0
answers
32
views
How do I set a tooltip per component inside of a cell in an AgGridReact
I have an AgGridReact. Inside of the grid, in each row, I have a cell that contains multiple images. Each image needs to have a separate tooltip. I'm using mui/Tooltip. I can't figure out how to get ...
0
votes
0
answers
44
views
Resizing columns issue in AG Grid React
I have two grids which are in sync using alignedGrids property. I gave first two columns as flex:0 with minWidth and remaining n columns as flex:1 weith minWidth as 140.
When I resize the browser to ...
0
votes
1
answer
78
views
onFirstDataRendered runs too early
I'm using onFirstDataRendered to auto-size my AG Grid columns once data has loaded. However, without introducing a delay, the auto-sizing runs based on column headers only.
export default function ...
0
votes
0
answers
62
views
How to disable row expand when doing multipleColumns row grouping
I have the following AgGrid React table:
const headers: ColGroupDef[] = [
{
headerName: '',
children: [
{
headerName: 'IBU/Mandate',
field: 'IBU/Mandate',
...
0
votes
1
answer
119
views
Ag-Grid cell editing issue in React
I am new to Ag-grid and am trying to create a basic table using Ag-grid and React.
I am wanting to have some of my cells to be editable while some not.
I tried using the source code from API docs, but ...
1
vote
0
answers
35
views
how to controlled height and width?
version : "@ag-grid-community/react": "^25.1.0"
problem :
I used cellRendererFramework to render it and when I press the button, the text at the bottom toggles.
At this time, I ...
0
votes
0
answers
150
views
Filtering feature not applying while using react ag-grid 33.1
Im using ag grid community in my React ts project, i've used it before and usually I would only add filter: true to defaultColDef and the filter feature would apply but its not working for me now.
...
0
votes
0
answers
50
views
How to show a tooltip on hover of agRichSelect dropdown items in AG Grid v30.2 (Vue 2)?
I am using AG Grid v30.2 with Vue 2 and have a column with agRichSelect as the cell editor. I want to display a tooltip when hovering over the dropdown options inside the agRichSelect editor.
Is it ...
0
votes
0
answers
37
views
AgGrid Empty RowGroups heading lost when exporting to excel
I'm using AgGrid React with row groupings. For entries that do not have a value for the Column I'm grouping by, it shows as '(Blanks)' in the table which is fine, but exporting to excel loses that ...
1
vote
1
answer
141
views
Filters and Sorting not retaining in AG GRID React on re-render
I can't copy the whole code here.
So I have a react component in which I am using 2 blocks of code (dashboard and details). I am conditionally rendering both block. Block 1 contains an AG grid react. ...
-1
votes
1
answer
503
views
How to have cursor pointer in AG grid table
I have an AG grid table like this suppose? and i want a cursor pointer i checked into the AG grid docs/demos and did not find anything related to the same? anyone can help me how can i achieve the ...
1
vote
0
answers
92
views
import/named type exports are not found after upgrading ag-grid-react, ag-grid-community
After upgrading ag-grid-react and ag-grid-community from 27.1.0 to 32.3.2, getting following error from the ag-grid-community package.
import { GridReadyEvent, SelectionChangedEvent, CellClickedEvent, ...
0
votes
0
answers
129
views
applyTransaction not working in ag-grid-community 32.3.2 with ag-grid-react 32.3.2 and ReactJS 18.3.1
I'm working with ag-grid-community version 32.3.2, ag-grid-react version 32.3.2, and ReactJS 18.3.1 in my project, and I am facing an issue with the applyTransaction method.
const gridOptions = {
...
0
votes
1
answer
174
views
Problem Disabling Rows in ag-Grid (ag-grid-react v32.3.2) with Checkbox Row Selection
I’m working with React 18.3.1 and ag-grid-react v32.3.2.
I’m encountering an issue when trying to disable specific rows. When I select the "Select All" checkbox, the rows that are disabled ...
0
votes
0
answers
62
views
How to force checkboxes to be selected even for selectAll/ unSelect All from the header checkbox?
I am using react 18.3.1 and ag-grid-react 32.3.2, I have requirement of displaying some rows with disabled checkboxes also there is a header checkbox for selecting/unselecting other rows. However when ...
1
vote
0
answers
112
views
Managing Refresh/Cancel functionality in AG Grid Infinite Row Model
While migrating from the client-side row model to the infinite row model, my team and I are attempting to preserve the functionality of our custom Refresh/Cancel button.
In the client-side row model, ...
0
votes
1
answer
418
views
ag grid react - column selection modal - hide and disable certain columns
The column select modal (Choose Columns) from column header menu lists all the columns in the colDef including a checkbox to select/un-select all columns.
Trying 2 things -
Disable the select/un-...
0
votes
0
answers
47
views
How to normalize special characters in quick filter
How would I go about normalizing some special characters so that they match the quick filter query.
Using french as an example with the ligature œ in the result, but not having to expect that specific ...
1
vote
0
answers
59
views
Ag-grid cell focus moves to another cell when rows are added/removed above it
When adding or removing a row above a focused cell in ag-grid, the focus moves automatically to the cell that gets "in the place" of the previously focused cell.
So if a cell on row 4 is ...
2
votes
1
answer
172
views
Ag Grid React community Autocomplete with MUI, onChange event is not triggered and Inputchnge is triggered ,however the value does not getting updated
Trying to achieve autocomplete with MUI in aggrid react as community version does not have this feature, the issue is AutoComplete onchange event is not getting triggered so the value after selection ...
2
votes
1
answer
438
views
Using react-query useQuery with AGGrid REACT-GRID
I have a table ( Grid ) using AGGRID ( react-grid )
It works very well except that I want to INVALIDATE the table
The issue is I am not able to use useQuery inside onGridReady
so I only use fetch to ...
0
votes
0
answers
167
views
Ag-Grid custom dropdown component not working due to overflow:hidden
In React, using the Community version of Ag Grid, I want a custom dropdown component that looks richer than a plain . In particular, I would like to use react-select.
The problem is that the cell div ...
0
votes
0
answers
33
views
How does ag-grid filters the grid data so fast?
I am using ag-grid to display a table containing tens of thousands of rows and more than 50 columns. When I apply filter to one or more columns, it filters the data within blink of an eye.I wonder how ...
0
votes
0
answers
153
views
How to define isFilterActive in custom filter in ag-grid React
Documentation for JavaScript/Angular/Vue mentions method isFilterActive(), that
Return true if the filter is active. If active then 1) the grid will show the filter icon in the column header and 2) ...
0
votes
1
answer
127
views
How to disable a sibling column by a agRichSelectCellEditor dropdown selection
I have an ag-grid with two columns set to use the agRichSelectCellEditor. When a user makes a selection in the first column dropdown, i want the second (sibling) column cell's dropdown to become ...
0
votes
1
answer
32
views
ag grid cellrenderer not updating color
when clicking view it is not changing color to red
const memoizedCols = useMemo(() => {
console.log("clicked vw", clickedVws);
return [
{
headerName: "View&...