ssCore.ADO.setFieldList

Set the field list that will be used to define the columns in the open table.


Availability:

First available in version 3.0 build 2039.


Input Parameters:

fields - [Optional] - A comma separated list of field names.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.ADO.setFieldList( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.ADO.setFieldList( paramsObject );


Notes:

Setting fields to an empty list causes ADO.setFieldList to restore the list to the default, i.e. all fields will be selected.

If ADO.setFieldList is not called before ADO.open, the default field list (all fields) will be used.

If you call ADO.setFieldList, it must be done before the call to ADO.open or it has no effect.

                

Examples:

ssCore.ADO.setFieldList({fields:"FirstName,LastName,PhoneNumber"});