C# Class SparkleXrm.CustomBinding.XrmLookupBinding

Inheritance: KnockoutApi.BindingHandler
显示文件 Open project: scottdurow/SparkleXrm

Public Methods

Method Description
Init ( System element, Func valueAccessor, Func allBindingsAccessor, object viewModel, object context ) : void
Update ( System element, Func valueAccessor, Func allBindingsAccessor, object viewModel, object context ) : void

Private Methods

Method Description
GetExtraColumns ( string columnAttributes, Xrm.Sdk.EntityCollection fetchResult, AutoCompleteItem results, int i ) : void

Extracts additional column display values from the search result The name attribute can now be a column separated list of attribute logical names

TrySetObservable ( Func valueAccessor, jQueryObject inputField, Xrm.Sdk.EntityReference value, bool setFocus ) : void
XrmLookupBinding ( ) : System
isItemSelectable ( AutoCompleteItem item ) : bool

Method Details

Init() public method

public Init ( System element, Func valueAccessor, Func allBindingsAccessor, object viewModel, object context ) : void
element System
valueAccessor Func
allBindingsAccessor Func
viewModel object
context object
return void

Update() public method

public Update ( System element, Func valueAccessor, Func allBindingsAccessor, object viewModel, object context ) : void
element System
valueAccessor Func
allBindingsAccessor Func
viewModel object
context object
return void