Class: SimpleQuickSearchResults

Cadcorp.UI.SimpleQuickSearchResults

new SimpleQuickSearchResults(config)

Displays the results of a quick search
Parameters:
Name Type Description
config Object Configuration for this object. The config supplied directly extends the control

Members

closeButtonImageUrl

Properties:
Name Type Description
closeButtonImageUrl string The url to the close button

dialogTitle

Properties:
Name Type Description
dialogTitle string The title for these results

events

Properties:
Name Type Description
events Cadcorp.Util.Events The events object

id

Properties:
Name Type Description
id string The id for these results

loadingImageUrl

Properties:
Name Type Description
loadingImageUrl string The url to the loading image

(protected) m_dialog

Properties:
Name Type Description
m_dialog Object The jquery object that is this dialog

prefix

Properties:
Name Type Description
prefix string The asp.net client id

searchingText

Properties:
Name Type Description
searchingText string The text to display while a search is performed

Methods

appendSearchResults(searchUI)

Adds a search ui to the dialog. UI elements with results are added after other ui elements with results.
UI elemenents that have noo results are always added to the end
Parameters:
Name Type Description
searchUI Cadcorp.UI.SearchUI

clearUI()

Clears the ui elements for the searches

hide()

Hides this dialog.

hideLoading()

hides the loading object

show()

Shows this dialog, creating it if required.

showLoading()

Shows the loading object