inputEx.widget.DataTable
(
options
)
- Parameters:
-
options <Object>
Options:- parentEl: DOMelement in which we have to insert the datatable
- datasource (or datasourceConfig)
- datatableOpts: additionnal datatable options
- fields: inputEx fields
- dialogLabel: title of the dialog
- columnDefs: YUI datatable columnDefs
- id: (optional, default is autogenerated) sets the id of the div wrapper around the widget
- allowInsert: adds the 'Insert' button (optional, default true)
- allowModify: default true
- allowDelete: default true
- showHideColumnsDlg: add a link to a dialog to show/hide columns
- panelConfig: (optional) YUI's dialog panelConfig object