Spread for ASP.NET 7.0 Product Documentation
ResumeLayout
See Also Support Options
Spread for ASP.NET 7.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > ResumeLayout

Glossary Item Box

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 language=javascript>
   function ProfileSpread()
   {
      fpSpread1.ResumeLayout(true);
   {
</SCRIPT>

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.