TIWCGJQGridCol Class
The TIWCGJQGridCol class
The TIWCGJQGridCol type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create(TCollection) | Initializes a new instance of the TIWCGJQGridCol class. (Overrides TIWCGJSon.Create(TCollection).) |
![]() | CreateSingle(TPersistent,string) | |
![]() | Destroy | Represents the destructor of the TIWCGJQGridCol class. (Overrides TIWCGJSon.Destroy.) |
Name | Description | |||
---|---|---|---|---|
![]() | Align | Defines the alignment of the cell in the Body layer, not in header cell. Possible values: left, center, right. | ||
![]() | Caption | Represents property | ||
![]() | CaptionAlign | Column caption align | ||
![]() | CGJSContainer | Represents property | ||
![]() | ClassData | Represents property | ||
![]() | Classes | This option allow to add classes to the column. If more than one class will be used a space should be set. By example classes:'class1 class2' will set a class1 and class2 to every cell on that column. In the grid css there is a predefined class ui-ellipsis which allow to attach ellipsis to a particular row. Also this will work in FireFox too. | ||
![]() | ColModel | Represents property | ||
![]() | DateFmt | Governs format of sorttype:date (when datetype is set to local) and editrules {date:true} fields. Determines the expected date format for that column. Uses a PHP-like date formatting. Currently ”/”, ”-”, and ”.” are supported as date separators. Valid formats are: y,Y,yyyy for four digits year YY, yy for two digits year m,mm for months d,dd for days. | ||
![]() | DefVal | The default value for the search field. This option is used only in Custom Searching and will be set as initial search. | ||
![]() | Editable | Defines if the field is editable. This option is used in cell, inline and form modules. See editing | ||
![]() | EditOptions | Array of allowed options (attributes) for edittype option editing | ||
![]() | EditRules | sets additional rules for the editable field editing | ||
![]() | EditType | Defines the edit type for inline and form editing Possible values: text, textarea, select, checkbox, password, button, image and file. See also editing | ||
![]() | FirstSortOrder | If set to asc or desc, the column will be sorted in that direction on first sort.Subsequent sorts of the column will toggle as usual | ||
![]() | Fixed | If set to true this option does not allow recalculation of the width of the column if shrinkToFit option is set to true. Also the width does not change if a setGridWidth method is used to change the grid width. | ||
![]() | FormatOptions | array Format options can be defined for particular columns, overwriting the defaults from the language file. See Formatter for more details. | ||
![]() | FormatOptionsActions | Represents property | ||
![]() | FormatOptionsCheckBox | Represents property | ||
![]() | FormatOptionsClass | Represents property | ||
![]() | FormatOptionsControl | Represents property | ||
![]() | FormatOptionsCurrency | Represents property | ||
![]() | FormatOptionsDate | Represents property | ||
![]() | FormatOptionsDateTime | Represents property | ||
![]() | FormatOptionsEMail | Represents property | ||
![]() | FormatOptionsFunction | Represents property | ||
![]() | FormatOptionsGetData | Represents property | ||
![]() | FormatOptionsImage | Represents property | ||
![]() | FormatOptionsInteger | Represents property | ||
![]() | FormatOptionsLink | Represents property | ||
![]() | FormatOptionsLinkClick | Represents property | ||
![]() | FormatOptionsNumber | Represents property | ||
![]() | FormatOptionsSelect | Represents property | ||
![]() | FormatOptionsShowLink | Represents property | ||
![]() | FormatOptionsStaticImage | Represents property | ||
![]() | FormatOptionsTime | Represents property | ||
![]() | Formatter | The predefined types (string) or custom function name that controls the format of this field. See Formatter for more details. | ||
![]() | FormOptions | Defines various options for form editing. See Form options | ||
![]() | Frozen | If set to true determines that this column will be frozen after calling the setFrozenColumns method | ||
![]() | Hidden | Defines if this column is hidden at initialization. | ||
![]() | HideDlg | If set to true this column will not appear in the modal dialog where users can choose which columns to show or hide. See Show/Hide Columns. | ||
![]() | Idx | Set the index name when sorting. Passed as sidx parameter. | ||
![]() | InstList | Represents property | ||
![]() | IsStored | Represents property | ||
![]() | JSon | Return the Interface of SuperObject (ISuperObject) (Inherited from TIWCGJSon.) | ||
![]() | JSonEvents[string] | Represents property | ||
![]() | JsonMap | Defines the json mapping for the column in the incoming json string. See Retrieving Data | ||
![]() | Key | In case if there is no id from server, this can be set as as id for the unique row id. Only one column can have this property. If there are more than one key the grid finds the first one and the second is ignored. | ||
![]() | Label_ | label string When colNames array is empty, defines the heading for this column. If both the colNames array and this setting are empty, the heading for this column comes from the name property. | ||
![]() | List | Represents property | ||
![]() | MapID | Represents property | ||
![]() | MappingName | Represents property | ||
![]() | MemberList | Represents property | ||
![]() | Name | Set the unique name in the grid for the column. This property is required. As well as other words used as property/event names, the reserved words (which cannot be used for names) include subgrid, cb and rn. | ||
![]() | OnCellAttr | This function add attributes to the cell during the creation of the data - i.e dynamically. By example all valid attributes for the table cell can be used or a style attribute with different properties. The function should return string. Parameters passed to this function are: rowId - the id of the row val - the value which will be added in the cell rawObject - the raw object of the data row - i.e if datatype is json - array, if datatype is xml xml node. cm - all the properties of this column listed in the colModel rdata - the data row which will be inserted in the row. This parameter is array of type name:value, where name is the name in colModel | ||
![]() | OnUnformat | Custom function to “unformat” a value of the cell when used in editing See Custom Formatter. (Unformat is also called during sort operations. The value returned by unformat is the value compared during the sort.) | ||
![]() | Owner | Represents property | ||
![]() | Position | Define the Column Position | ||
![]() | PropCount | Represents property | ||
![]() | PropIndexByName[string] | Represents property | ||
![]() | PropList | Represents property | ||
![]() | PropName | Represents property | ||
![]() | PropNameByIndex[Integer] | Represents property | ||
![]() | ProviderName | The real database field name in case when you have non standard field name, like spaces and/or special chars.
| ||
![]() | Resizable | Defines if the column can be re sized true | ||
![]() | Search | When used in search modules, disables or enables searching on that column. Search Configuration | ||
![]() | SearchOptions | Defines the search options used searching Search Configuration | ||
![]() | SearchRules | Object which contain additional conditions for validating user input | ||
![]() | ServerDataUrl | Represents property | ||
![]() | ServerEditDataUrl | Represents property | ||
![]() | ServerSearchDataUrl | Represents property | ||
![]() | SObj | Represents property | ||
![]() | Sortable | Defines is this can be sorted. | ||
![]() | SQLFieldName | Define the SQLPrefix to apply to each Column for Search Operations. Fi, if SQLPrefix = 'Customers' and Name = 'Code', the SQL formed will be 'Customers.Code'; | ||
![]() | SQLName | Represents property | ||
![]() | SQLPrefix | Define the SQLPrefix to apply to each Column for Search Operations. Fi, if SQLPrefix = 'Customers' and Name = 'Code', the SQL formed will be 'Customers.Code'; | ||
![]() | SType | Determines the type of the element when searching. See Search Configuration | ||
![]() | SummaryTpl | Summary template | ||
![]() | SummaryType | Type of summary | ||
![]() | SUrl | Valid only in Search ToolBar and edittype : 'select' and describes the url from where we can get already-constructed select element | ||
![]() | Title | If this option is false the title is not displayed in that column when we hover a cell with the mouse | ||
![]() | Viewable | This option is valid only when viewGridRow method is activated. When the option is set to false the column is does not appear in view Form | ||
![]() | Width | Set the initial width of the column, in pixels. This value currently can not be set as percentage | ||
![]() | XmlMap | Defines the xml mapping for the column in the incomming xml file. Use a CCS specification for this See Retrieving Data |
Name | Description | |||
---|---|---|---|---|
![]() | AddBooleanMember(string,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddColorMember(string,TIWCGColor,Boolean,Boolean) | Represents method | ||
![]() | AddCurrencyMember(string,Currency,Boolean,Boolean) | Represents method | ||
![]() | AddDoubleMember(string,Double,Boolean,Boolean) | Represents method | ||
![]() | AddDynObjListMember(string,Boolean,Boolean) | Represents method | ||
![]() | AddEnumMember(string,string[],Byte,Boolean,Boolean) | Represents method | ||
![]() | AddEnumSetMember(string,string[],Void,Word,Boolean,Boolean) | Represents method | ||
![]() | AddFuncMember(string,string,string,Boolean,TIWCGJSonFuncClass,Boolean,Boolean) | Represents method | ||
![]() | AddHTML5(TIWHTMLTag) | Represents method | ||
![]() | AddIntegerMember(string,Integer,Boolean,Boolean) | Represents method | ||
![]() | AddJSonMember(string,TCGJSon,Boolean,Boolean) | Represents method | ||
![]() | AddMembers | The procedure add jquery properties.
| ||
![]() | AddObjListMember(string,TIWCGJSonListClass,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddObjMember(string,TIWCGJSonClass,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddSimpleArrayMember(string,Boolean,Boolean,Boolean) | Represents method | ||
![]() | AddStringMember(string,string,Boolean,Boolean) | Represents method | ||
![]() | AddVariantMember(string,Variant,Boolean,Boolean) | Represents method | ||
![]() | AfterConstruction | Represents method | ||
![]() | Assign(TPersistent) | Represents method | ||
![]() | CheckJSonMember(Integer) | Represents method | ||
![]() | ConvertEnumToString(string) | Represents method | ||
![]() | ConvertSetToString(string,TCGStringArray) | Represents method | ||
![]() | DoGetImage(string,string,string,TIWCGJQGridColImageProps) | Represents method | ||
![]() | DoGetLink(string,string,string) | Represents method | ||
![]() | DoUpdateCellControl(TControl,Integer,string,string,Boolean) | Represents method | ||
![]() | DoUpdateControl(string,string) | Represents method | ||
![]() | FreeJSonObj(Integer) | Overloaded. Represents method | ||
![]() | FreeJSonObj(string) | Overloaded. Represents method | ||
![]() | GetBooleanValue(Integer) | Represents method | ||
![]() | GetCGJSContainer | Represents method | ||
![]() | GetColorValue(Integer) | Represents method | ||
![]() | GetCurrencyValue(Integer) | Represents method | ||
![]() | GetCustomJq(string,ISuperObject) | Represents method | ||
![]() | GetDisplayName | Represents method | ||
![]() | GetDoubleValue(Integer) | Represents method | ||
![]() | GetDynObjListValue(Integer) | Represents method | ||
![]() | GetEnumAsString(Integer) | Represents method | ||
![]() | GetEnumerValue(Integer) | Represents method | ||
![]() | GetEnumSetValue(Integer,Pointer) | Represents method | ||
![]() | GetFixedScript(TIWCGJSonFunc,Boolean) | Represents method | ||
![]() | GetFormatterOptionsClass(TIWCGJQGridColFormatter) | Represents method | ||
![]() | GetFuncValue(Integer) | Represents method | ||
![]() | GetHTMLName | Represents method | ||
![]() | GetImplComponent | Represents method | ||
![]() | GetIntegerValue(Integer) | Represents method | ||
![]() | GetIsStored | Represents method | ||
![]() | GetItemIndex | Represents method | ||
![]() | GetIWCLName | Represents method | ||
![]() | GetJSon | Represents method | ||
![]() | GetJSonByType(Boolean,Boolean) | Represents method | ||
![]() | GetJSonEx(Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | ||
![]() | GetJSonValue(Integer) | Represents method | ||
![]() | GetJSonValueObj(Integer) | Represents method | ||
![]() | GetMemberJSon(TCGJSonMember,ISuperObject,Boolean,Boolean,string) | Represents method | ||
![]() | GetMemberSetterHandler(TObject,TCGJSonMember) | Represents method | ||
![]() | GetMemberSetterScriptParts(TIWCGResponseMemberList,TIWCGJScript) | Represents method | ||
![]() | GetMembersJSon(TIWCGResponseMemberList,Boolean,Boolean) | Represents method | ||
![]() | GetObjListValue(Integer) | Represents method | ||
![]() | GetObjValue(Integer) | Represents method | ||
![]() | GetOwner | Represents method | ||
![]() | GetPropName | Represents method | ||
![]() | GetSimpleArrayValue(Integer) | Represents method | ||
![]() | GetStringValue(Integer) | Represents method | ||
![]() | GetVariantValue(Integer) | Represents method | ||
![]() | InternalGetJSon(TEachPropJSonProc,Boolean,Boolean,Void,Boolean,Boolean,TIWCGResponseMemberList,Boolean) | Represents method | ||
![]() ![]() | IsArray | Represents method | ||
![]() | IsBooleanStored(Integer) | Represents method | ||
![]() | IsColorStored(Integer) | Represents method | ||
![]() | IsCurrencyStored(Integer) | Represents method | ||
![]() | IsDoubleStored(Integer) | Represents method | ||
![]() | IsEnumerStored(Integer) | Represents method | ||
![]() | IsEnumSetStored(Integer) | Represents method | ||
![]() | IsFuncStored(Integer) | Represents method | ||
![]() | IsIntegerStored(Integer) | Represents method | ||
![]() | IsJSonObjStored(string) | Represents method | ||
![]() | IsJSonStored(Integer) | Represents method | ||
![]() | IsObjStored(Integer) | Represents method | ||
![]() | IsStringStored(Integer) | Represents method | ||
![]() | IsVariantStored(Integer) | Represents method | ||
![]() ![]() | JSonEscape | Represents method | ||
![]() ![]() | JSonIdent | Represents method | ||
![]() ![]() | JSonNameQuote | Represents method | ||
![]() | ResetProps | Represents method | ||
![]() | SetBooleanValue(Integer,Boolean) | Represents method | ||
![]() | SetColorValue(Integer,TIWCGColor) | Represents method | ||
![]() | SetCurrencyValue(Integer,Currency) | Represents method | ||
![]() | SetDoubleValue(Integer,Double) | Represents method | ||
![]() | SetDynObjListValue(Integer,TIWCGJSonDynObjList) | Represents method | ||
![]() | SetEnumerValue(Integer,Byte) | Represents method | ||
![]() | SetEnumSetValue(Integer,Pointer) | Represents method | ||
![]() | SetFuncValue(Integer,TIWCGJSonFunc) | Represents method | ||
![]() | SetIntegerValue(Integer,Integer) | Represents method | ||
![]() | SetJSonValue(Integer,TCGJSon) | Represents method | ||
![]() | SetObjListValue(Integer,TIWCGJSonList) | Represents method | ||
![]() | SetObjValue(Integer,TIWCGJSon) | Represents method | ||
![]() | SetSimpleArrayValue(Integer,TIWCGJSonSimpleArray) | Represents method | ||
![]() | SetStringValue(Integer,string) | Represents method | ||
![]() | SetVariantValue(Integer,Variant) | Represents method | ||
![]() | StoreProperty(PPropInfo,TObject) | Represents method | ||
![]() | SupportsSetter(TObject,TCGJSonMember) | Represents method |
Name | Description | |
---|---|---|
![]() | OnGetEditSelectData | Called to get the Edit Values when Formatter is Select. |
![]() | OnGetImage | Get the Image for each row. For columns with formatter Image |
![]() | OnGetImageEx | Get the Image for each row. For columns with formatter Image |
![]() | OnGetLink | To Get a Link for columns with formatter ShowLink |
![]() | OnGetSearchSelectData | Called to get the Search Values when Formatter is Select. |
![]() | OnUpdateCellControl | This event is used when Col.Formatter = gcfControl and FormatOptionsControl.CreateCellsOnRender = True. When assigned, allows to set the properties to the cell controls, using FindCellControl |
![]() | OnUpdateControl | This event is used when Col.Formatter = gcfControl and FormatOptionsControl.CreateCellsOnRender = False. It's called before grids create a cell control based on ControlTemplate. User should update the properties in the ControlTemplate and childs. After this, the Grid will create cloned cell controls |
![]() | _Events_ | Represents property |