Commit graph

371 commits

Author SHA1 Message Date
rolux
62c65026b1 add Ox.getIndex and Ox.getObject; Ox.List: use Ox.getIndex when updating item value 2014-04-30 14:19:09 +02:00
rolux
38b7072822 Ox.api: return api from update method; Ox.List: update api when updating options.items array 2014-04-30 13:54:19 +02:00
rolux
c26a13b2f1 Ox.api: update(items) signature is better (allows for add/remove); Ox.List: update accordingly 2014-04-30 13:39:14 +02:00
rolux
777fbc2a37 Ox.api: add update method (index, item); Ox.List: when initialized with array of items, update api when changing an item value 2014-04-30 13:26:56 +02:00
j
a7f520281d combine multiple list.value into one 2014-02-13 09:31:06 +00:00
j
7b5d24461d fix setting value on array lists 2014-02-13 09:28:43 +00:00
rolux
603dfa3d3a Lists: Add getPasteIndex method 2014-02-12 13:56:54 +00:00
rolux
4004f4a247 comment out profiling 2014-02-07 11:07:53 +00:00
j
45155f1f71 fix setting items and sort at the same time 2014-02-07 08:37:46 +00:00
j
687fa24c53 doc cleanup 2014-02-06 10:27:09 +00:00
rolux
ca22ed9c8a update comment 2014-02-02 13:18:09 +00:00
rolux
382f9fce79 change semantics of shift+arrow in one-dimensional lists to always mean 'move cursor' (like in grid lists); make shift+click on selected item move that item to the first position in the selection 2014-02-02 13:15:09 +00:00
rolux
e069f11c9a Lists: make most recently selected item selected[0]; add selectSelected method to change this item from outside 2014-02-02 12:34:12 +00:00
j
d039d0c781 use Ox.debounce to fix instant list selection, fixes #2142 2014-02-02 01:17:20 +05:30
rolux
86e80a2229 grid lists: support even wider lists 2014-01-18 02:23:45 +00:00
rolux
761ff5974a grid lists: more items per page for wider lists 2014-01-18 02:20:17 +00:00
rolux
145bab2267 fix undefined var in InfoList 2014-01-15 04:53:24 +05:30
rolux
1df53b7bde Ox.List: store items in self.items 2013-12-31 13:28:36 +05:30
rolux
3a28b08d46 Ox.InfoList: make value method accept (id, {key: value}) 2013-12-01 14:55:57 +01:00
rolux
9d189c55da Ox.IconList: make value method accept (id, {key: value}) 2013-12-01 14:55:37 +01:00
rolux
5001a47cf8 Ox.TableList: make value method accept (id, {key: value}) 2013-12-01 14:55:10 +01:00
rolux
a5baff8319 Ox.List: make value method accept (id, {key: value}) 2013-12-01 14:54:42 +01:00
rlx
0a5ae83f35 fix table cell input css 2013-08-11 08:28:03 +00:00
rlx
a2f6e18900 table list: when editing cell, make next click blur, but not cause new click or edit 2013-08-11 08:22:29 +00:00
rlx
24adbd3894 don't update table list cell value while editing cell 2013-08-11 08:10:26 +00:00
rlx
3187d70972 don't set icon list container overflow-y to hidden when filling first page, finally fixes #538 (scrollbars disappear on search results view) 2013-08-09 20:56:05 +00:00
rlx
4b0b11e3d4 tree list: encode html entities 2013-08-07 10:27:10 +00:00
rlx
b095385d14 remove Ox.ListPage 2013-08-07 07:45:12 +00:00
rlx
95a9a6274e fix positioning of icon items in lists 2013-08-05 22:02:16 +00:00
rlx
81be40b7a1 cosmetic changes 2013-08-05 22:01:32 +00:00
rlx
66ee836c13 fix control_x handler in Ox.List 2013-08-03 14:47:25 +00:00
rlx
20137da742 trigger cut and cutadd events (consumer of list events may want to differentiate between cut and delete) 2013-08-03 13:57:55 +00:00
rlx
1fc0a0191b Lists: add public 'selectAll' and 'invertSelection' methods 2013-08-02 12:23:43 +00:00
rlx
d05b12208a Ox.TableList: add 'droppable' option (that guarantees cells are Ox.Elements, and thus receive drop events) 2013-08-02 09:21:37 +00:00
rlx
b1ee9bcc06 fix table list css when dragging columns 2013-07-22 08:23:50 +00:00
rlx
ce579b8f3f table list columns: add 'addable' property (defaults to true, like removable) 2013-07-20 07:57:13 +00:00
rlx
564ce69a78 exclusively handle selectability of text via .OxSelectable and body.OxDragging (to be set/unset in dragstart/dragend handlers) 2013-07-19 08:42:25 +00:00
rlx
60bf786a3a Ox.List: add support for moving a (potentially discontinuous) selection of multiple items 2013-07-17 10:20:24 +00:00
rlx
52f946848c make input of right-aligned editable cells right-aligned 2013-07-15 12:03:01 +00:00
rlx
dd9fd84bdf Ox.List: fix keyboard event names 2013-07-14 17:45:45 +00:00
rlx
c8d0969a41 Ox.List: set item.options('position'), not item.data('position') 2013-07-14 13:41:02 +00:00
rlx
a7cdb3af3d list item: handle position update 2013-07-14 13:39:39 +00:00
j
04d3160da8 dont sort sortable list on move 2013-07-14 10:39:13 +00:00
rlx
8383643549 Ox.List: cleanup; trigger copy (add) and cut (add) events 2013-07-13 23:06:01 +00:00
rlx
e283ff1053 cleanup 2013-07-13 21:06:03 +00:00
rlx
6c79e5711e allow for updating 'draggable' and 'sortable' options of a table list 2013-07-13 14:01:17 +00:00
rolux
fab8dfa473 add fixme 2013-07-11 11:26:24 +02:00
j
e929a7266a revert last commit 2013-06-04 12:27:09 +00:00
j
e4b935e5ed self.optoins.items returns request id, dont overwrite with additional info, if callback needs query, self.options.items should pass that info to callback. 2013-06-04 11:57:50 +00:00
rolux
a84fa05d73 cleanup List.js 2013-05-15 09:30:31 +02:00