TIWCGDropDownDataLink Class
Represents type TIWCGDropDownDataLink
.
IWCGJQCommon.TIWCGDataLink
IWCGJQCommon.TIWCGFieldDataLink
IWCGJQCommon.TIWCGLookupFieldDataLink
IWCGJQDropDown.TIWCGDropDownDataLink
type TIWCGDropDownDataLink = class(TIWCGLookupFieldDataLink) end;
The TIWCGDropDownDataLink type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create(TPersistent) | Initializes a new instance of the TIWCGDropDownDataLink class. (Overrides TIWCGLookupFieldDataLink.Create(TPersistent).) |
Name | Description | |
---|---|---|
![]() | CanModify | Represents property |
![]() | ControlsEnabled | Represents property |
![]() | DataSource | The DataSource of the Control (Inherited from TIWCGDataLink.) |
![]() | DBContainer | Represents property |
![]() | Editing | Represents property |
![]() | Field | Represents property |
![]() | FieldName | The FieldName of the Control. (Inherited from TIWCGFieldDataLink.) |
![]() | ListDataSet | Represents property |
![]() | ListDataSource | Is the datasource used to get the listing values. |
![]() | ListFetchCount | Is the minimum record count to send to browser. For DropDown, we can define the number of records to send to browser everytime the user scrolls the drop down list, ie, if the number of records, after filtering is 500, the dropdown wont send the all the records to the browser, but in packets of ListFetchCount. When the user scrolls down, the control will request more ListFetchCount. |
![]() | ListFieldNames | The FieldNames to list (most of the times only one FieldName is supported, unless custom html it's used to fill the list). (Inherited from TIWCGLookupFieldDataLink.) |
![]() | ListFieldNamesList | Represents property |
![]() | ListFilterFormat | When DataLink.ListFilterOperation = lfoCustom, this is a string the defines the filter to be applied. It should contain the special tags "FieldName" and "Term". For instance "FieldName" = "Term". (Inherited from TIWCGLookupFieldDataLink.) |
![]() | ListFilterOperation | This is the filter operation that should be applied when the user searches. (Inherited from TIWCGLookupFieldDataLink.) |
![]() | ListGotoMethod | This is the method used to locate a record by its relative position. |
![]() | ListLookupResultFieldName | The dropdown doesnt requires that the list items are filled with lookup data, so to know what is caption to show, uses this FieldName as a LookupResult, performs ListDataSource.DataSet.Lookup(ListSelectFieldName,DropDown.Val,ListLoo kupResultFieldName); Normally DataLink.ListLookupResultFieldName is the first field of DataLink.ListFieldNames |
![]() | ListSelectFieldName | This the FieldName to set as Value when the user selects an item. Normally there's a relation 1:1 between DataLink.DataSource/DataLink.FieldName and DataLink.ListDataSource/DataLink.ListSelectFieldName (Inherited from TIWCGLookupFieldDataLink.) |
![]() | OnUpdateControl | This event is called when DataLink needs to refresh the Control Data. (Inherited from TIWCGFieldDataLink.) |
![]() | OnUpdateField | This event is called when DataLink needs to udpate the Field data, from the Control Data, when an update or insert is in course. (Inherited from TIWCGFieldDataLink.) |
![]() | Owner | Represents property |
![]() | StateChangeOperation | This what should be done to the control when the dataset is in Browse Mode: – scoEnable: Enables the control if the DataSet is editing/inserting, and disables it if DataSet is in browse Mode. – scoReadOnly: If supported by the Control, puts it ReadOnly in browse mode, and writable in editiion modes. – scoNone: Don't do anything to the Control, regardless its state. (Inherited from TIWCGFieldDataLink.) |
![]() | StateEditCss | This css class will be applied when DataLink is in editing, and removed when is not in editing. (Inherited from TIWCGFieldDataLink.) |
Name | Description | |
---|---|---|
![]() | ActiveChanged | Represents method |
![]() | Assign(TPersistent) | Represents method |
![]() | CheckRemove(TComponent) | Represents method |
![]() | DataEvent(TDataEvent,NativeInt) | Represents method |
![]() | EditingChanged | Represents method |
![]() | FocusControl(TFieldRef) | Represents method |
![]() | GetDrowDownData(TObject,string,Integer,ISuperObject,Boolean) | Represents method |
![]() | GetOwner | Represents method |
![]() | LayoutChanged | Represents method |
![]() | ListValuesChanged | Represents method |
![]() | RecordChanged(TField) | Represents method |
![]() | SetFieldText(string) | Represents method |
![]() | Update | Represents method |
![]() | UpdateData | Represents method |
Name | Description | |
---|---|---|
![]() | OnFilterDataSet | is an event for perform custom filters. (Inherited from TIWCGLookupFieldDataLink.) |