Replace (with options)

Refer to the following example code to see how to replace cell's content with options.