Setting the contents of a header cell programaticaly

G’day

I have been able to set the header cell of a table column using the following command. However it is only updated when you actually click on the header cell itself. How can I make that happen dynamically.

set contents of header cell of table column "full path" of table view "table view" of scroll view "scroll view" to ((numSelectedRows as string) & " of " & numRows & " items selected")

Thanks
Kevin

You may try the command “update”, but I’m not sure it you must apply this to the header cell or the table view or…