Commit Graph

17 Commits

Author SHA1 Message Date
Samuel Georges 3291e07191
Update Deprecated code in October into (event.key) (#4489)
Update Deprecated code in October into (event.key)
2019-09-11 21:35:18 +10:00
Ben Thomson 14c4d1392e Datatable dropdown usability tweaks (#3980)
Adds a couple of usability tweaks to the dropdown cell type in the data table widget, to more closely mimic a native dropdown field.

Pressing the up or down arrow keys when the cell is focused but with the dropdown closed will select the previous or next item automatically and set it as the cell value. This does prevent the usual table function of going to the previous or next row when focused on a dropdown cell, but I think it's a worthwhile trade-off. When the dropdown is open, the up and down arrows work the same as previously implemented.

Typing out characters will initiate a search and select the first matching option automatically and set it as the cell value. For example, for the following options:

Apples
Oranges
Bananas
Typing out o and r on the keyboard will automatically select the Oranges option.

Credit to @bennothommo
2018-12-16 09:30:23 -06:00
Samuel Georges da71a21172 Add oc.tableUpdateData event and readOnly to string processor
Minor tidy
2016-02-20 15:38:29 +11:00
alekseybobkov 0e2e18af7f Added autocomplete column type to the Table widget 2015-11-17 21:26:03 -08:00
alekseybobkov c38126ce65 Implemented the oc.tableCellChanged event for the table widget. Added readonly mode support in the code editor widget. 2015-08-25 21:34:21 -07:00
alekseybobkov f6cf7e9840 Added new back-end control Scrollpad. Added Element and Event utility functions to the Foundation library. Implemented file list scrolling in the Media Manager. Some minor fixes. 2015-03-28 11:42:40 -07:00
alekseybobkov bc287a9559 Minor fix in the drop-down cell procesor. Added some Validation documentation. 2015-01-08 20:39:44 -08:00
alekseybobkov c26545913c Improvements in the table widget, added new events to the CMS core, form styling, added support for the Table widget in in the CMS area. 2015-01-07 22:21:52 -08:00
Samuel Georges a6259ff915 depends_on -> dependsOn 2015-01-03 10:04:06 +11:00
alekseybobkov 1480303c4f The options can now be set with the PHP configuration. Minor updates in the scrollbar widget. Implemented scrolling. Updated documentation. 2014-12-17 22:07:49 -08:00
alekseybobkov c6eb544101 Implemented the server-side data access. Added automatic POSTing of client-memory data source data. Updated documentation. Minor fixes in the drop-down cell processor. 2014-12-11 22:12:43 -08:00
alekseybobkov 9377bcf7c1 Table widget dropdowns - dependent drop-downs and loading indicators 2014-12-09 22:37:52 -08:00
alekseybobkov d880f1ffbd Minor. Memory usage profiled. 2014-12-08 22:59:33 -08:00
alekseybobkov f56bfe12d0 Implementing AJAX loading for drop-down options, in progress. 2014-12-08 22:50:25 -08:00
alekseybobkov 4b28ee8bcb Custom drop-down control for the table widget. In progress. 2014-12-07 23:30:15 -08:00
alekseybobkov a6d8ab20f7 More styling for the drop-down processor. Not finished. TODO: investigate and fix the memory leaking in the drop-down cell processor (detached DOM tree) 2014-12-04 22:48:25 -08:00
alekseybobkov e032fd682d Table drop-down processor, in progress 2014-12-03 22:48:26 -08:00