Partilhar via


FormDataSource.clearDisplayOption(Common) Method

Definition

Clears display options that were previously specified for a record and then redraws the record.

public:
 virtual void clearDisplayOption(Microsoft::Dynamics::Ax::Xpp::Common ^ _record);
public virtual void clearDisplayOption (Microsoft.Dynamics.Ax.Xpp.Common _record);
abstract member clearDisplayOption : Microsoft.Dynamics.Ax.Xpp.Common -> unit
override this.clearDisplayOption : Microsoft.Dynamics.Ax.Xpp.Common -> unit
Public Overridable Sub clearDisplayOption (_record As Common)

Parameters

_record
Common

The record to redraw.

Remarks

Display options are set by using the FormDataSource.displayOption method.

The following example redraws the first record in a data source.

public void run() 
{ 
    super(); 
    sysRecordTmpTemplate_ds.clearDisplayOption( 
        sysRecordTmpTemplate_ds.getFirst()); 
}

Applies to