yashwanth
yashwanth

Reputation: 1

How to update the data of slickgrid on row change?

I want to update the slickgrid on everyrowchange in the sense after making the changes in entire row i want event to fire update.

Can anybody suggest please?

Upvotes: 0

Views: 1476

Answers (2)

isotrope
isotrope

Reputation: 1847

You could keep an array of "Dirty Row IDs". Then when the selected row changes, loop through your array of Dirty Row IDs and do your thing.

Upvotes: 0

njr101
njr101

Reputation: 9629

SlickGrid has no concept of editing a row, only editing individual cells. If the user edits several cells in a row, how would you decide when the edit to the whole row is complete?

If you consider the row complete when the last column is edited, you can set an event handler on cell edit for the last column and react appropriately.

Upvotes: 1

Related Questions