If, in the data sheet, I execute this code from the Action menu …
addfield "Leader"
field Leader // or field "Leader"
fieldtype "integer"
… and then open the Properties panel for that new field, it is shown as a Text field. If I then click in another field and return to the “Leader” field (with the Properties panel still open), it displays as an integer field.
I find this confusing.