Commit graph

278 commits

Author SHA1 Message Date
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