[]
Sheets.DataValidation.HighlightPosition
Indicates the data validation highlightposition.
example
//This example uses the highlightStyle method.
sheet.setValue(1, 1, "sss");
var dv = GC.Spread.Sheets.DataValidation.createListValidator('Fruit,Vegetable,Food');
dv.highlightStyle({
type:GC.Spread.Sheets.DataValidation.HighlightType.dogEar,
color:'blue',
position:GC.Spread.Sheets.DataValidation.HighlightPosition.topLeft
});
sheet.setDataValidator(1,1, dv);
spread.options.highlightInvalidData = true;
• bottomLeft = 3
Specifies highlight flag on the bottomleft of the invalid data cell.
• bottomRight = 2
Specifies highlight flag on the bottomright of the invalid data cell.
• outsideLeft = 4
Specifies image which type is icon on the left of the invalid data cell.
• outsideRight = 5
Specifies image which type is icon on the Right of the invalid data cell.
• topLeft = 0
Specifies highlight flag on the topleft of the invalid data cell.
• topRight = 1
Specifies highlight flag on the topright of the invalid data cell.