Beschreibung
$t().SearchBox() Autocomplete Suche über Elemente einer bestimmten SharePoint Liste

Voraussetzungen / Prerequisites
Das koellisch-toolkit muss aktiviert sein.
Parameter
options:
Parameter | Type | Default | Beschreibung |
FeldName | String | ||
ListenName | String | ||
FeldId | String | ||
SetLookUpTitle | String | ||
NewFormUrl | String | ||
OpenUrl | String | $t().SPServices.SPGetCurrentSite() + "/Lists/" + options.ListenName + "/EditForm_Custom.aspx?ID={ItemId}" | |
EditUrl | String | $t().SPServices.SPGetCurrentSite() + "/Lists/" + options.ListenName + "/EditForm_Custom.aspx?ID={ItemId}" | |
MinLength | Int | 3 | |
LengthShowAddButton | Int | 1 | |
EingabeUebergeben | Boolean | False | |
ReadyFunktion | Funktion | Null | |
DeleteFunktion | Funktion | Null | |
OpenOnlyReadyFunction | Boolean | False |
Query | String | ||
MaxItems | Int | 0 |
Syntax / Source Code
$t().SearchBox(options)
Beispiele / Examples
$t(document).ready(function () {
$t().SearchBox({
FeldName: 'Title',
ListenName: 'Projekte',
FeldId: 'projektsucheinput',
OpenUrl: $t().SPServices.SPGetCurrentSite() + "/Lists/Projekte/DispForm.aspx?ID={ItemId}",
});
});