aspnetcore-js-devexpress-dot-richedit-b36590e4.md
Contains field update options.
export class UpdateFieldsOptions
var doInAllSubDocuments = true;
var updateTocFields = true;
var options = new DevExpress.RichEdit.UpdateFieldsOptions(doInAllSubDocuments, updateTocFields);
richEdit.document.fields.updateAllFields(function() {
console.log('Updated');
}, options);
Initializes a new instance of the UpdateFieldsOptions class with specified settings.
constructor(
doInAllSubDocuments?: boolean,
updateTocFields?: boolean
)
| Name | Type | Description |
|---|---|---|
| doInAllSubDocuments | boolean |
true , to update fields in all sub-documents, false , to update fields in the current sub-document only.
| | updateTocFields | boolean |
true , to update TOC fields; otherwise, false.
|
Specifies whether to update fields in the current sub-document or in all sub-documents.
doInAllSubDocuments: boolean
| Type | Description |
|---|---|
| boolean |
true , to update fields in all sub-documents, false , to update fields in the current sub-document only.
|
Specifies whether TOC fields should be updated.
updateTocFields: boolean
| Type | Description |
|---|---|
| boolean |
true , to update TOC fields; otherwise, false.
|