Skip to content
Mog is in active development. The GitHub repo, SDK packages, and community channels are not yet available. Follow for launch updates

ws.formControls

WorksheetFormControls

3 methods

list

FormControl[]
list(): FormControl[];

Get all form controls on this sheet.

get

FormControl | undefined
get(controlId: string): FormControl | undefined;
ParameterTypeRequired
controlIdstringrequired

Get a specific form control by ID. Returns undefined if not found or not on this sheet.

getAtPosition

FormControl[]
getAtPosition(row: number, col: number): FormControl[];
ParameterTypeRequired
rownumberrequired
colnumberrequired

Get form controls at a specific cell position (for hit testing).