FormDataSource.clearDisplayOption Method [AX 2012]

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

public void clearDisplayOption(Common record)

Run On

Client

Parameters

record
Type: Common Table
The record to redraw.

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()); 
}

Community Additions

ADD
Show: