Extend from $.fn.combo.defaults and $.fn.datagrid.defaults. Override defaults with $.fn.combogrid.defaults.
The properties extend from combo and datagrid, below is the added properties for combogrid.
Name | Type | Description | Default |
---|---|---|---|
loadMsg | string | The message displayed when datagrid load remote data. | null |
idField | string | The id field name. | null |
textField | string | The text field to be displayed in textbox. | null |
mode | string | Defines how to load datagrid data when text changed. Set to 'remote' if the combogrid loads from server. | local |
filter | function(q, row) | Defines how to select the local data when 'mode' setted to 'local'. Return true to select the row. |
The events extend from combo and datagrid.
The methods extend from combo, below is the added or overriden methods for combogrid.
Name | Parameter | Description |
---|---|---|
options | none | Return the options object. |
grid | none | Return the datagrid object. |
setValues | values | Set the component value array. |
setValue | value | Set the component value. |
clear | none | Clear the component value. |