Units view header click

Hi there,

is it possible to attach a javascript function when I click on one of the headers (the ones with ‘dhx_scale_bar’ class) in the Units View?

Yup, it’s possible. Check out the documentation for the Units View Templates, specifically the {unitsName}_scale_text.

I made a quick snippet for you to check out.