Class: ResultsSearchControl

ResultsSearchControl

new ResultsSearchControl(config)

Control to handle search functionality.
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Methods

(protected) clearButtonClick_handler(e)

Clear button click handler
Parameters:
Name Type Description
e Object event args

(protected) columnChanged_handler(e)

Column Changed Handler
Parameters:
Name Type Description
e Object event args

(protected) conditionChanged_handler(e)

Condition changed event handler
Parameters:
Name Type Description
e Object event args

destroy()

Destroys the control and it's children.

(protected) numericKeyUp_handler(e)

Triggers search on enter.
Parameters:
Name Type Description
e Object event args

(protected) printLinkClick_handler(e)

switches to print mode.
Parameters:
Name Type Description
e Object event args

(protected) saveButtonClick_handler(e)

Triggers save event
Parameters:
Name Type Description
e Object event args

(protected) searchInputKeyUp_handler(e)

Triggers search on key press.
Parameters:
Name Type Description
e type

setSchema(schema)

Binds schema data to the controls.
Parameters:
Name Type Description
schema Cadcorp.GeognoSIS.OverlaySchema overlay schema

toggleClearButton(overlay)

Shows or hides buttons.
Parameters:
Name Type Description
overlay Object cadcorp overlay to check.

(protected) zoomButtonClick_handler(e)

Triggers zoom event
Parameters:
Name Type Description
e Object event args

Events

ConditionSet

Event to indicate that condition has been set.
Type:
  • Object

Save

Event to indicate that save has been triggered.
Type:
  • Object

SuppressHide

Event to indicate that hide should be suppressed.
Type:
  • Object

Zoom

Event to indicate that zoom has been triggered.
Type:
  • Object