Comments (2)
Hello
Thank you for the suggestion.
Currently there's no way to implement this behaviour with AG Grid. However, we agree this would be a valuable addition to the product and we have added this requirement to our backlog and we are tracking it with the following reference: AG-11485
We have no timeline for this at the moment, but this can still be picked up by our team when they're making modifications to this functional area of AG Grid. Please use the functionality currently provided by AG Grid until this is delivered at a later point.
See whether this item will be in the next release by checking the NEXT RELEASE checkbox on the product pipeline page:
https://www.ag-grid.com/ag-grid-pipeline/
The best way to track this is to sign up for AG Grid new release notifications using the instructions here. This way you'll know as soon as a new version is out and you can check whether this specific item was implemented on the changelog page.
Thanks again for bringing this up with us.
Kind regards,
Zoheil
from ag-grid.
Thanks @AG-Zoheil -
For what is worth; this was my workaround:
useEffect(() => {
const grid = gridRef.current;
if (grid) {
// list all columns that depend on the side
const columns = ['B', 'C'];
grid.api?.refreshCells({ columns, force: true });
// if there are row groups, refresh the row model to update the aggregate values for the updated columns
if (grid.columnApi?.getRowGroupColumns().length ?? 0) {
grid.api?.refreshClientSideRowModel('aggregate');
}
// if any of the updated columns are sorted, refresh the row model to update the sort order
if (
grid.columnApi?.getColumnState().some(({ colId, sort }) => sort && columns.includes(colId))
) {
grid.api?.refreshClientSideRowModel('sort');
}
// if there are any filters applied to the updated columns, refresh the row model to update their filtered rows
if (
grid.api?.isQuickFilterPresent() ||
Object.keys(grid.api?.getFilterModel() ?? {}).some((filteredColumn) =>
columns.includes(filteredColumn)
)
) {
grid.api?.refreshClientSideRowModel('filter');
}
}
}, [clientSide]);
from ag-grid.
Related Issues (20)
- How to scroll and paginate together HOT 1
- [Regression] Cannot import `ag-grid-no-native-widgets.css` HOT 1
- Issue regarding custom editor getValue() method in vue 3 <script setup>+ vite HOT 4
- undefined headerRowIndex in "shouldStopEventPropagation"
- Custom getRows params request for server side datasource
- Uncaught type error in GrandTotalRow while filtering our all data HOT 9
- Cell component height is not calculated when Cell Text Selection is enabled HOT 3
- Row height not adjusting automatically despite using autoRowHeight in ag-Grid Community
- Bug Report - Vertical borders have notches in them
- Detail Grids Bug in v32 HOT 1
- Custom editor test fails after upgrading to version 32.1.0 HOT 1
- How Disable moving columns to pin columns? HOT 1
- Unpinning column by dragging cause wrong column state HOT 1
- `setRowNodeExpanded` does not work as expected in `Tree Data` mode HOT 2
- CSS variable --ag-row-vertical-padding-scale doesn't work HOT 1
- Missing values in Set filter
- Major memory leak - v32 HOT 3
- https://www.ag-grid.com/example/ HOT 2
- Tab Navigation Fails to Enable Editing on First Cell of Second Row in Full Row Editing Mode HOT 1
- Will Advanced Filter be able to compare two column values?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ag-grid.