Spread for ASP.NET 11 Product Documentation
GetTitleInfo
Spread for ASP.NET 11 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetTitleInfo

Gets the title or subtitle.

Syntax

[JavaScript]

var ret = FpSpread1.GetTitleInfo();

Parameters

None

Return Type

Object

Remarks

This method can be used to return the title of the Spread component, the subtitle, or other properties of the TitleInfo class.

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 getHValue() {
       var title = FpSpread1.GetTitleInfo();
       alert(title.rows(0).cells(0).innerText);
       alert(title.rows(1).cells(0).innerText);
   }
</script>
See Also