How to add/remove changesetArray?

that's true.
I want to make bulk actions on the table and for that, I need JS to modify changesetArray. Any idea how I can do so?