Spread for ASP.NET 10 Product Documentation > Client-Side Scripting Reference > Scripting Members > Methods > GetTitleInfo |
Gets the title or subtitle.
[JavaScript]
var ret = FpSpread1.GetTitleInfo();
None
Object
This method can be used to return the title of the Spread component, the subtitle, or other properties of the TitleInfo class.
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> |