rename column infotable thingworx

JavaScript
var result = Resources.InfoTableFunctions.RenameField({
    t: undefined /* INFOTABLE */,
    from: undefined /* STRING */,
    to: undefined /* STRING */
});
Source

Also in JavaScript: