I am not very familiar with the racks, so give me advice on what he stands for.
There are two ways to approach this that I see.
The first (and probably the easiest) is to add the event to the checkboxes, which stores the checked state in an array or onchange object. Then, when you call back from the ajax update, restore these states.
, ajax , , ajax, . ajax "" , .
, javascript , (jquery ..).