Thank you so much for Shilpa.
Is there a way of doing this via javascript?
Your way is definitely correct however it means we'll have to change the whole view in Fiori to achieve this, and the customer will have to inherit many lines of code.
Cheers
Michael.