Commit graph

363 commits

Author SHA1 Message Date
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
rolux
fe8c97db24 in Ox.List, handle Ox.TreeList items update 2012-06-17 19:13:18 +02:00
rolux
ad368fb819 allow for updating a treelist's data option 2012-06-17 19:12:23 +02:00
rolux
fbeb434e27 remove print statements 2012-06-15 11:47:18 +02:00
j
0b60f45341 fix indent for rows without icon should in treelist 2012-06-15 10:38:32 +02:00
j
3b1fd5c38c fix TreeList rows with no icon, fixes #843 2012-06-15 10:31:38 +02:00
rolux
63d5f04af7 Ox.TreeList: add 'expanded' option 2012-06-13 15:53:20 +02:00
rlx
ba5bea09f0 fix #833 (JS error when collapsing sidebar in timelines view) 2012-06-13 08:37:07 +00:00
rolux
8bc8c57373 use base 10 in parseInt, use Math.floor for numbers 2012-06-13 10:28:21 +02:00
rolux
15264c188f add custom icons to Ox.TreeList 2012-06-12 13:13:23 +02:00
rolux
75665b7d3f remove comments 2012-06-11 13:40:33 +02:00
rolux
c4ad59bdb6 Ox.IconItem: fix a regression related to highlights across linebreaks; add a class to ellipsis 2012-06-04 14:32:58 +02:00
rolux
7582a795ee use new Ox.wordwrap signature 2012-06-04 13:49:39 +02:00
rolux
a5c6747b57 change the signature of Ox.pad to match Ox.truncate 2012-06-04 11:08:38 +02:00
rolux
9ce126263b change the signature of Ox.truncate to allow for passing 'position' without having to pass 'padding', change default padding from '...' to a real ellipsis 2012-06-03 11:07:39 +02:00
rolux
4ba06fde41 use Ox.highlight; minor reformatting 2012-06-03 10:41:18 +02:00
rolux
d9b0cc5f01 update/fix documentation 2012-06-02 15:07:29 +02:00
rolux
8c347d9009 update documentation (classes) 2012-05-31 12:32:54 +02:00
rolux
721989b67b cleanup 2012-05-30 19:22:24 +02:00
j
2f98800715 typo 2012-05-30 02:32:14 +02:00
j
888bf094ad only sort object keys in treelist 2012-05-30 02:29:38 +02:00
rolux
6847102507 fix documentation 2012-05-30 00:28:52 +02:00
j
91e1065aab rename Ox.UI source files, remove Ox. prefix 2012-05-28 19:44:12 +00:00
j
005d50c389 self.setOption ~> that.update 2012-05-28 19:35:41 +00:00
rolux
461a237880 .bind -> .on, .unbind -> .off 2012-05-28 16:06:22 +02:00
rolux
ef15919a3e rename the 'original event data' property of Ox.List drag & drop events from '_event' to 'event' 2012-05-28 15:55:35 +02:00
rolux
fef07dff6f rewrite formatText for clarity, and use new Ox.highlightHTML 2012-05-27 12:38:14 +02:00
j
68d50978ba trailing comma removal, 2012-05-26 15:48:19 +00:00
rolux
147d637b7b typos 2012-05-25 09:46:34 +02:00
rolux
544e117cb3 Ox.break -> Ox.Break 2012-05-24 19:20:29 +02:00
rlx
f033877f41 fix a regression in Ox.TreeList 2012-05-24 12:10:18 +00:00