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.

Comments on I need a full grid refresh, but `setRowData` is not a function

Post

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)
Please give more context
Karl Knechtel‭ wrote 5 months ago

For example, what programming language are you using for this task? When you say "the grid", what grid are you talking about? When you say that you get a message, where does it appear? As written, it's very hard for anyone else to tell you anything useful. Nobody can see your code from here, nor watch your program run.

peterh‭ wrote 5 months ago · edited 5 months ago

Karl Knechtel‭ Ag Grid is written in Typescript, which is compiled to Javascript. Thus, its core can be programmed in Javascript and Typescript. Beside that, it has bindings to Angular, Vue, ReactJs, too. In my specific case, I have used Javascript, however the problem itself is language-agnostic. More clearly, framework agnostic. Goal of the self-answered post is, anyone knowing Ag Grid, would know that, however it would spare the hours of debugging for him.