I managed to work it out by passing a column for the class of hide/show.
Code:<div class='pure-u-1-2 name-details'>Invoice Number:</div> <div class='pure-u-1-2'> <a href='#' data-ServerOnElemClick='Invoice' class='{{oShowURLInvoice}}'>{{oInvoiceNum}}</a> <div class='pure-u-1-2 {{oShowInvoice}}'>{{oInvoiceNum}}</div> </div> <div class='pure-u-1-2 name-details'>Customer reference:</div>