@Ravi presuming this is a custom form / list the order you add the columns is the order they are displayed
r
Ravi
10/07/2019, 8:56 AM
But the scripted column field doesnot show in the custom form, right?
n
NElliott
10/07/2019, 9:22 AM
Not sure I follow, how are you adding the field, can you share code?
r
Ravi
10/07/2019, 11:26 AM
var sublist = form.getSublist({
id : 'item'
});
var scriptField = sublist.addField({
id : 'custpage_parent_machine',
type : serverWidget.FieldType.SELECT,
label : 'Parent Machine'
});
r
rustyshackles
10/08/2019, 10:15 PM
Fields added by script are always at the end. As far as I know, you can't specify the position