({{, (RefLink[CellDynamicExpression, paclet:ref/CellDynamicExpression]) 
is an option for cells that specifies an expression to be dynamically updated whenever the cell is visible on screen.}})

OpenersNotesSection(Spacer1)Details

(RefLink[CellDynamicExpression, paclet:ref/CellDynamicExpression])->(RefLink[Dynamic, paclet:ref/Dynamic])[expr] causes the expression to be tracked and updated in the usual way, except that expr is not displayed anywhere.

(RefLink[CellDynamicExpression, paclet:ref/CellDynamicExpression]) may not trigger dynamic updates if the cell is scrolled off screen or inside a closed cell group.

The (RefLink[CellDynamicExpression, paclet:ref/CellDynamicExpression]) dynamic is guaranteed to be resolved before any (RefLink[Dynamic, paclet:ref/Dynamic]) objects that are in the cell's contents.

OpenersPrimaryExamplesSection(Spacer1)Examples  (2)

OpenersExampleSection0(Spacer1)Basic Examples  (1)

Display the date:

ExpressionCell[Dynamic[Refresh[f[],UpdateInterval->1]],CellDynamicExpression->Dynamic[f[]:=DateString["ISODateTime"]]]

OpenersExampleSection2(Spacer1)Properties & Relations  (1)

(RefLink[CellDynamicExpression, paclet:ref/CellDynamicExpression]) always resolves before any (RefLink[Dynamic, paclet:ref/Dynamic]) objects in the cell's content:

x=.
CellPrint[ExpressionCell[Dynamic[Refresh[x,None]],"Print",CellDynamicExpression->Dynamic[x="from CellDynamicExpression"]]]

({{DocumentationFooterIconsRelatedFunction.png, ({{See Also}, {(RefLink[NotebookDynamicExpression, paclet:ref/NotebookDynamicExpression])  ▪  (RefLink[FrontEndDynamicExpression, paclet:ref/FrontEndDynamicExpression])  ▪  (RefLink[DynamicWrapper, paclet:ref/DynamicWrapper])  ▪  (RefLink[Initialization, paclet:ref/Initialization])}})}})