ADF client-side architecture - Select All

A little while ago I got a very nice challenge: play around with the ADF client-side framework.

The customer had a table where users could multi-select via an extra column with checkboxes. Header of that column also contained a checkbox to select or deselect everything at once. For example:

It was implemented using autoSubmit and partialTriggers. Due [...]