Advanced Features
Advanced spreadsheet features - data validation, images, freeze panes, protection, and more
✅ Data Validation
Dropdown Lists
Spreadsheet( "validation.xlsx" )
.setRowData( 1, [ "Product", "Status", "Priority" ] )
// Add dropdown for Status column
.addDataValidation(
startRow = 2,
startColumn = 2,
endRow = 100,
endColumn = 2,
type = "list",
values = [ "Active", "Inactive", "Pending" ]
)
// Add dropdown for Priority column
.addDataValidation(
startRow = 2,
startColumn = 3,
endRow = 100,
endColumn = 3,
type = "list",
values = [ "High", "Medium", "Low" ]
)
.save();Numeric Validation
Date Validation
Custom Validation with Formulas
🖼️ Working with Images
Adding Images
Positioning Images
Multiple Images
🔒 Cell Protection
Protect Worksheet
Lock Specific Cells
Unprotect Worksheet
❄️ Freeze Panes
Freeze Top Row
Freeze First Column
Freeze Both Row and Column
Remove Freeze Panes
📏 Row and Column Management
Setting Row Heights
Setting Column Widths
Auto-Sizing Columns
Hiding Rows and Columns
Showing Hidden Rows and Columns
📝 Cell Comments
Adding Comments
Reading Comments
Removing Comments
🔗 Merging Cells
Merge Cell Range
Merge for Title
Unmerge Cells
🎨 Conditional Formatting (Manual)
Color Scale Based on Values
Icon Sets (Using Characters)
📊 Named Ranges
Creating Named Ranges
Using Named Ranges
🔄 Copying and Moving
Copy Range
Copy Sheet
📄 Print Settings
Set Print Area
Page Setup
💡 Advanced Patterns
Pattern: Dynamic Dashboard
Pattern: Template Generator
📚 Next Steps
ExamplesFluent APILast updated
Was this helpful?
