Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Software Development on Codidact!

Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.

I need a full grid refresh, but setRowData is not a function [closed]

+0
−1

Closed as unclear by Karl Knechtel‭ on Apr 15, 2026 at 19:42

This question cannot be answered in its current form, because critical information is missing.

This question was closed; new answers can no longer be added. Users with the Vote on Holds ability may vote to reopen this question if it has been improved or closed incorrectly.

My sources say, after major data changes, particularly if the self-generated row Id (my own getRowId) change, I need to rebuild the grid (gridOptions.rowData), and then use gridOptions.api.setRowData().

However, trying to do that, the only what I get if a "setRowdata is not a function" message, and that was it.

My searches in the recent Ag Grid source show only some references of this method in various interfaces, but not even an implementation.

How to do a full grid re-display?

History

1 comment thread

Please give more context (2 comments)

1 answer

+0
−0

Currently, we have Ag Grid 35 and setRowData() was deprecated around at 31. This deprecation is cloudy in the documentation, can not be find easily by googling and LLMs do not seem knowing too much about them.

We had an incompatible API change below the radar.

The method currently to use, is:

gridOptions.api.setGridOption('rowData', your_row_data)

Also many other set... method were all unified under setGridOption('...'). Like setStyle or similars.

History

0 comment threads