# ResumeLayout

Use the ResumeLayout method to resume normal layout logic and optionally forces the component to apply layout logic to its child controls.

## Content

Resumes normal layout logic and optionally forces the component to apply layout logic to its child controls.

## Syntax

[JavaScript]

```javascript
FpSpread1.ResumeLayout(performLayout);
```

## Parameters

***performLayout***
Boolean, whether to perform layout logic on the child controls

## Return Type

None

## Remarks

This method is used with SetValue to enhance the performance. Use the SuspendLayout method to suspend the layout. Then use the SetValue method to put values in the cells while the painting is suspended. This method does not cause a postback to occur.

## Example

This is a sample that contains the method.
On the client side, the script that contains the method would look like this:

```javascript
<script type="text/javascript">
   function ProfileSpread()
   {
      fpSpread1.ResumeLayout(true);
   {
</script>
```

## See Also

[SetValue](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-SetValue)
[SuspendLayout](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members/clientscript-allmeths/CSSR-SuspendLayout)
[Scripting Members](/spreadnet/docs/latest/online-asp/overview/spweb-clientscriptref/clientscript-members)