Commit graph

393 commits

Author SHA1 Message Date
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
j
697edd72a3 List.js trigger doubleclick event on touchend if selection was not changed
this allows list navigation for mobile devices that have not double click.
tested on Android 4 in Chrome, Firefox and Android Browser
2013-05-14 17:12:44 +00:00
rlx
74e6c12904 selectbefore/selectafter -> selectprevious/selectnext 2013-05-08 16:53:33 +00:00
rlx
e9668823e3 Ox.Chart: fix sort regressions 2013-05-07 14:33:52 +00:00
rolux
47aa05b9bc typo 2013-04-26 12:28:26 +02:00
rolux
f7c531c5df Ox.Chart: when sorting by value, descending, make sure sort order of tied items, by key, is ascending 2013-04-26 12:27:35 +02:00
rlx
42760324f3 cosmetic change 2013-03-05 06:06:03 +00:00
rlx
d3f39c29f2 fix icon item info css 2013-03-04 15:03:54 +00:00
rolux
1e9000c0c0 fix icon item info 2013-03-03 12:38:17 +00:00
rolux
d2f3bf70d5 typo 2013-03-02 14:36:19 +05:30
j
e4207b8623 add missing , 2013-03-02 03:07:49 +00:00
rolux
9dfb7bebab update CSS of icon list info objects 2013-03-02 08:18:22 +05:30
rolux
2a7c20a043 in a list's init event, pass the query if the async items function immediately returns one 2013-02-16 15:01:27 +05:30
rolux
abb6d2a8be pass query with list init event 2013-02-12 07:01:45 +05:30
rolux
32271e2578 fix column class name for table list cells 2013-02-08 17:49:27 +05:30
rolux
f64ee18aa4 fix column class name for table list cells 2013-02-08 17:44:05 +05:30
rolux
1b2c83e121 fix column class name for table list cells 2013-02-08 17:38:24 +05:30
rolux
2bc41d180e add (still unused) private 'updateImages' method to Ox.TableList 2012-12-29 17:43:03 +01:00
rolux
100775b109 in table list column heads, use images to indicate order, not buttons 2012-12-29 13:56:04 +01:00
rolux
2c2b680284 use themed mode colors for table list column head images 2012-12-28 18:02:50 +01:00
rolux
85a058d7ac refactoring 2012-12-22 01:20:37 +01:00
rlx
066b434a33 temporary fix for https://code.google.com/p/chromium/issues/detail?id=167198 2012-12-21 01:40:25 +00:00
rolux
86019a83fb Ox.ColumnList: add public 'sort' method 2012-12-18 22:48:57 +01:00
rolux
cdf49b0bbe Ox.CustomList: implement sort update 2012-12-18 22:48:27 +01:00
rolux
8c941edd03 Ox.ColumnList: implement query 2012-12-18 15:05:47 +01:00
rolux
e5e93d8e12 Ox.CustomList: handle query update 2012-12-18 15:04:59 +01:00
rolux
65501544f8 Ox.ColumnList: add 'resize' option, correctly handle key_left, key_right and select, pass 'sort' option 2012-12-18 11:50:44 +01:00
rolux
087c7eb956 Ox.CustomList: add public 'selectPosition' and 'size' methods, add 'resize' option (fn(, width) that runs for each item, on resize) 2012-12-18 11:47:40 +01:00
rolux
10eafb0bd4 Ox.TableList: add public 'selectPosition' method 2012-12-18 11:45:36 +01:00
rolux
800b9ac17c Ox.List: add public 'selectPosition' method 2012-12-18 11:45:20 +01:00
rlx
3973fc496a add 'setColumnTitle' public method to Ox.TableList; add 'OxColumnStatus' CSS rules 2012-12-16 16:19:10 +00:00
rolux
e3e3540ef3 fix icon list 'centered' option and animation 2012-12-13 02:25:32 +01:00
rolux
10d389a9fc update ColumnList 2012-12-11 16:37:48 +01:00
rolux
51bf0498da in TableList and CustomList, expose list api 2012-12-11 16:36:38 +01:00
rolux
68aeaebe3f update CustomList and ColumnList 2012-12-10 17:46:48 +01:00
rolux
c4cf3586df TableList: set Select/Clear CSS according to scrollbar size 2012-12-10 17:44:52 +01:00
rolux
15601552e7 add experimental CustomList and ColumnList 2012-12-10 01:01:29 +01:00
rolux
64085cdc04 add Ox.SortList and Ox.SortDialog 2012-10-28 15:33:29 +01:00
rlx
dfde724a38 Ox.Chart: improve sorting 2012-10-27 18:51:14 +00:00
rolux
41ca92a3d1 off by one in Ox.Chart 2012-10-27 19:46:27 +02:00
rolux
909184fbba add missing 'sums' option to IconList and InfoList 2012-10-26 16:46:14 +02:00
rlx
619f498dae Ox.Chart: make sure bars are at least 1px wide 2012-10-24 12:31:32 +00:00
rlx
dc03bb506a Ox.Chart: add 'limit' option 2012-10-05 11:19:22 +00:00
rolux
075aac449c minor timeout voodoo 2012-09-05 12:05:01 +02:00
rolux
e50d4c22db In Ox.List, pass map option to Ox.api 2012-09-03 22:27:09 +02:00
rolux
a3ddc7c2d4 In Ox.TableList, add a 'sort' property for columns (a function with two arguments, the item's value for this column and the full item object), so that the sort order can now depend on other keys (and we can abandon the pattern of passing the sort value as value and a complicated format function to get the actual value) 2012-09-03 22:26:27 +02:00
rolux
39708edd8b correctly compute list height in Ox.List if horizontal scrolling is disabled in Ox.TableList 2012-09-01 11:46:01 +02:00
rolux
a01ab0ab58 TableList: add clearButton and clearButtonTooltip options, update CSS 2012-08-31 16:57:03 +02:00
rolux
6f545969e4 minor bugfix 2012-08-31 08:54:24 +02:00
rolux
95502a62a1 update enable/disable horizontal scrolling option in table list 2012-08-31 08:51:30 +02:00
rolux
3fcedf2b30 lists: return that from public size method 2012-08-31 00:16:26 +02:00
rolux
2d109d103e TableList: add option disableHorizontalScroll and public methods addColumn, removeColumn, getVisibleColumns, setVisibleColumns and getColumnWidth, and add setColumnWidth as alias for resizeColumn; return that from public size method 2012-08-31 00:16:09 +02:00
rlx
0de55efb96 Menu: parse HTML entities for title property of events 2012-08-13 13:20:07 +00:00
rolux
bda90f6b6b remove Ox.Break 2012-07-05 10:58:08 +02:00
rolux
a0867f0da6 update widget documentation (arguments first) 2012-07-04 13:29:18 +02:00
rolux
0d53dfaf1a fix a bug in tree list 2012-07-02 18:24:30 +02:00
rolux
6cd9472b7c add a fixme 2012-07-02 18:23:50 +02:00
rolux
f5aa547f43 Ox.IconList: don't require 'keys' option if 'items' is a local array 2012-07-02 18:21:09 +02:00
rlx
197f937d86 remove some list voodoo 2012-06-30 19:59:20 +00:00
rlx
f22e5a032d IconList/InfoList: keep self.options.selected in sync 2012-06-30 16:12:05 +00:00
rlx
d57affea4a Ox.List: change 'selected' update handler 2012-06-30 15:05:05 +00:00
rlx
f5901e4a1d Ox.TableList: keep self.options.selected in sync, plus some cleanup 2012-06-30 15:03:43 +00:00
rolux
7df61a8ac9 simplify event passing in Ox.List derivatives 2012-06-30 11:20:37 +02:00
rolux
91275f7171 minor reformatting 2012-06-30 11:18:55 +02:00
rolux
64a182ae1d lists: implement select-as-you-type 2012-06-29 14:19:34 +02:00
rolux
55e2174831 in TableLists, use options.unique, not options.columns[i].unique 2012-06-27 20:38:07 +02:00
rolux
d6dcf33427 fix a bug with computing keys 2012-06-27 20:29:39 +02:00
rolux
8296d3c405 TableList: don't require 'keys' if 'items' is array 2012-06-27 20:28:59 +02:00
rolux
773311d8d7 TableList: add 'unique' option (until now, the unique id had be specified via columns, even if one had no intention to ever display it as a column) 2012-06-27 18:19:24 +02:00
j
9bb6b7bcb9 revert changes undone in #2224 2012-06-27 10:20:11 +02:00
rolux
e38a09cd42 update inline comments 2012-06-27 09:43:28 +02:00
rolux
bdebb03a45 TextList -> TableList 2012-06-27 09:41:10 +02:00
j
75fe62730c Ox.*List do not share updateCallbacks with Ox.List, Ox.clone(self) is passed for event handler 2012-06-26 15:44:22 +00:00
rolux
c301a73e38 TreeList: load in expanded state if options.expanded is true 2012-06-22 09:22:04 +02:00
rolux
5bbce78878 remove unneeded cloning 2012-06-19 19:43:19 +02:00
rolux
e1bd7d0cb3 remove log statement 2012-06-19 19:32:37 +02:00
rolux
3a3354818a List: add query option; fix a bug related to Ox.api returning -1 as position (as opposed to the pandora backend, which doesn't include the id in that case); fix a bug related to determining sizes when items is an array 2012-06-19 14:18:16 +02:00
rolux
68321c7245 IconList/InfoList/TextList: add query option 2012-06-19 14:15:20 +02:00
j
d2e05200da document events 2012-06-18 00:38:26 +02:00