SpreadJS Documentation
zIndex Method
The z-index of the comment.
Gets or sets the z-index of the comment.
Syntax
var instance = new GcSpread.Sheets.Comment();
var returnValue; // Type: number
returnValue = instance.zIndex(value);
function zIndex( 
   value : number
) : number;

Parameters

value
The z-index of the comment.

Return Value

The z-index of the comment.
Example
This example gets the index.
var comment = new GcSpread.Sheets.Comment();
comment.text("new comment!");
comment.backColor("yellow");
comment.foreColor("green");
comment.displayMode(GcSpread.Sheets.DisplayMode.AlwaysShown);
activeSheet.setComment(5,5,comment);
alert(comment.zIndex());
See Also

Reference

Comment class

 

 


Copyright © GrapeCity, inc. All rights reserved.

Send comments on this topic.