Persist x number of rows

Tags: #<Tag:0x00007efc60e6c5e0>

Hi, I’m trying to persist 20 rows in my table regardless of the amount of data in the table. How can I accomplish this?
Thanks!

Hey @laurengibbs010

do you mean that you’d like to block those rows from edition or movement?

No, but I think I worked that particular issue out, I was slightly misunderstanding the original issue.
The dev needed an easy way to maintain 20 rows upon save, while the whole table is editable, but a row is not guaranteed to have data in it. Upon save, the only rows that were persisted were the rows with data in them. Using minRows and maxRows I am able to persist 20 rows, but now on the save call, the row with added data jumps up to the top. Persisting the index of the edited row is now my sticking point.

I would do by best to help but I would need to see your current progress. Can you share any demo and a list of possible values?

It’s been more than a month without any response so I’m closing this topic.