Spread for ASP.NET 12 Product Documentation
ResumeLayout
Spread for ASP.NET 12 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ResumeLayout

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

Syntax

[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
Copy Code
<script type="text/javascript">
   function ProfileSpread()
   {
      fpSpread1.ResumeLayout(true);
   {
</script>
See Also