FormDataSource.clearDisplayOption(Common) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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());
}