There's one additional item in Errors.txt we can't figure out - what's this? There's nothing we can find in referenceDocs.xml that looks like this.
Methods with one or more parameters missing a type: 1 | |
1. class:isc.enable, ParamName=enable, type= |
Methods with one or more parameters missing a type: 1 | |
1. class:isc.enable, ParamName=enable, type= |
/** * Generic extensions to JavaScript Arrays. You can call these on any Array. * JavaScript's native Array is retrofitted to support the List API (not implemented yet). */ interface ArrayConstructor { isLoading(value: any): boolean; compareAscending(first: any, second: any): number; compareDescending(first: any, second: any): number; } // Array
(grid as any).dataSource
<docItem type="class" ref="class:CanvasItem" description="FormItem which renders a Canvas inline in a DynamicForm instance.
 <P>
 CanvasItem is ${isc.DocUtils.linkForRef('attr:CanvasItem.shouldSaveValue','shouldSaveValue')}:false by default, meaning that
 no value from the CanvasItem will be present in ${isc.DocUtils.linkForRef('method:DynamicForm.getValues')} and no value will be
 saved when ${isc.DocUtils.linkForRef('method:DynamicForm.saveData')} is called. This is appropriate if the Canvas does
 not participate in editing a value of the form and is embedded in the form for layout or UI
 purposes only (e.g. ${isc.DocUtils.linkForRef('class:ButtonItem')}, ${isc.DocUtils.linkForRef('class:SectionItem')}). Note that some built-in CanvasItem
 types override the shouldSaveValue default to true (e.g. ${isc.DocUtils.linkForRef('class:MultiComboBoxItem')}, ${isc.DocUtils.linkForRef('class:RichTextItem')}).
 <P>
 If you set ${isc.DocUtils.linkForRef('attr:FormItem.shouldSaveValue','shouldSaveValue')}:true, a 
 ${isc.DocUtils.linkForRef('method:CanvasItem.showValue','showValue')} event will be raised to provide a value that your
 item should display. Handle this event by calling methods on the Canvas you've created
 to cause the value to be displayed.
 <P>
 The ${isc.DocUtils.linkForRef('method:CanvasItem.showValue','showValue')} event will be triggered in various situations where
 the form receives data, including a call to ${isc.DocUtils.linkForRef('method:DynamicForm.setValues')},
 ${isc.DocUtils.linkForRef('method:DynamicForm.editRecord')}, or if ${isc.DocUtils.linkForRef('method:DynamicForm.fetchData')} is called and a Record
 is returned. Bear in mind that the <code>showValue</code> event can be called when the form
 and your item have not yet been drawn; in this case, store the value for later display.
 <P>
 To provide a value to the form, call ${isc.DocUtils.linkForRef('method:CanvasItem.storeValue')} whenever the user changes
 the value in your Canvas. Generally, if storeValue() is called then
 ${isc.DocUtils.linkForRef('attr:CanvasItem.shouldSaveValue','shouldSaveValue')} should be overridden to true. Note that
 the form <b>will not</b> call getValue() in order to discover your item's value, so there is
 no purpose in overriding this method; instead, call storeValue() to proactively inform the
 form about changes to the value. This approach is necessary in order to enable change events.
 <P>
 If you cannot easily detect changes to values in your Canvas, a workaround is to call
 <code>storeValue</code> right before the form saves." name="CanvasItem"> <attrs>attr:CanvasItem.height</attrs> <attrs>attr:CanvasItem.multiple</attrs> <attrs>attr:CanvasItem.shouldSaveValue</attrs> <attrs>attr:CanvasItem.canvas</attrs> <attrs>attr:CanvasItem.canvasConstructor</attrs> <attrs>attr:CanvasItem.canvasDefaults</attrs> <attrs>attr:CanvasItem.canvasProperties</attrs> <attrs>attr:CanvasItem.autoDestroy</attrs> <attrs>attr:CanvasItem.overflow</attrs> <attrs>attr:CanvasItem.minHeight</attrs> <attrs>attr:CanvasItem.maxHeight</attrs> <attrs>attr:CanvasItem.editCriteriaInInnerForm</attrs> <attrs>attr:CanvasItem.applyPromptToCanvas</attrs> <attrs>attr:CanvasItem.prompt</attrs> <treeLocation>Client Reference/Forms/Form Items</treeLocation> <methods>method:CanvasItem.storeValue</methods> <methods>method:CanvasItem.updateCanvasTabPosition</methods> <methods>method:CanvasItem.setCanvas</methods> <methods>method:CanvasItem.canEditChanged</methods> <methods>method:CanvasItem.readOnlyDisplayChanged</methods> <methods>method:CanvasItem.shouldDisableCanvas</methods> <methods>method:CanvasItem.isFocused</methods> <methods>method:CanvasItem.hasAdvancedCriteria</methods> <methods>method:CanvasItem.canEditCriterion</methods> <methods>method:CanvasItem.getCriterion</methods> <methods>method:CanvasItem.setCriterion</methods> <methods>method:CanvasItem.setPrompt</methods> <methods>method:CanvasItem.createCanvas</methods> <methods>method:CanvasItem.showValue</methods> </docItem>
Leave a comment: