More jsReloads after Form Submit

hi,

i want to rerender the more Fields after submiting a form. But i can return only a statment with jsreload forexample
return new \atk4\ui\jsReload($table);

mein Question:

How can i reload more than one $table after submitting a form ß

thx a lot

BR
Peter

Hello Peter,

You should be able to return an array of statements like this:

return [new \atk4\ui\jsReload($table), new \atk4\ui\jsReload($table2)];

Hi,

i love your solution. it works pretty. Thank your Zak.

Br
Peter

No problems Peter. Glad I could help!