Class: Search

Simplicite.UI.View.Search

Object search rendering

Parameters:
Name Type Description
app Simplicite.Ajax Ajax service
engine Simplicite.UI.Engine Main controller
view Simplicite.UI.View.Main View services
Source:
  • search.js, line 14

Methods

display

Build the search form

Parameters:
Name Type Description
ctn jQuery parent container
o Simplicite.Ajax.BusinessObject object
p Simplicite.UI.Globals.search optional parameters
cbk function optional callback
Source:
  • search.js, line 29

helper

Helper to assist common filter expression

Parameters:
Name Type Description
f Simplicite.Ajax.ObjectField object field
input jQuery search input to assist
type string helper type 'number' or 'string'
onOk function optional callback(expression)
Source:
  • search.js, line 767

predef

Predefined search selector

Parameters:
Name Type Description
ctn jQuery parent container
o Simplicite.Ajax.BusinessObject object
p Object search parameters with fields and predef
filters Object Current form filters
update function callback to update the form with selected search
close function callback to return to form
Source:
  • search.js, line 394

sortby

Sort/Group by columns editor

Parameters:
Name Type Description
ctn jQuery parent container
o Simplicite.Ajax.BusinessObject object
p Object search parameters
apply function callback to process the sort on list
close function callback to return to form
Source:
  • search.js, line 595