Spread for ASP.NET 8.0 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > SuspendLayout |
Temporarily suspends the layout logic for the Spread control.
[JavaScript]
FpSpread1.SuspendLayout();
None
This method can be used with SetValue to enhance the performance by stopping the painting while setting values in the cells. Use the ResumeLayout method to resume the layout. This method does not cause a postback to occur.
On the client side, the script that contains the method would look like this:
JavaScript |
Copy Code
|
---|---|
<script type="text/javascript"> function ProfileSpread() { fpSpread1.SuspendLayout(); } </script> |