Randall Luecke
cffbf86351
TableView theming
2010-07-22 00:21:02 -05:00
Randall Luecke
0cbdb3b2d1
Fix for redrawing issues in tableview. Closes #627
2010-07-12 21:14:48 -05:00
Randall Luecke
70f2d86b58
Fixes for adding and removing columns to the tableview after the tableview has already been displayed... There are still issues though.
2010-07-12 20:45:30 -05:00
Randall Luecke
78a75924de
selectedRowIndexes should return a copy, closes #605
2010-07-07 16:46:48 -05:00
Nicholas Small
21a9ae4c45
Make CPTableView work with selectionIndexes binding.
2010-06-30 12:03:03 -04:00
Alexander Ljungberg and Randall Luecke
74af0dc93a
Fixed: Shift + Arrow Keys in allowsMultipleSelection CPTableViews did not expand the selection anymore after the recent key binding updates.
2010-06-26 00:10:30 -05:00
Randall Luecke
10c067e44f
When dragging over a tableview row we should jump to the next row at the bottom 30% of the row, not 50%... otherwise it gets really really bad with large row heights.
2010-06-21 22:32:18 -05:00
Randall Luecke
7414d1407f
Moved tracking of last selected row index to selectRowIndexes: in tableview.
2010-06-16 13:59:25 -05:00
Ross Boucher
17a8be1ae6
Return the actually last selected row in CPTableView.
...
Closes 716.
2010-06-15 19:20:48 -07:00
Scott Kyle and Randall Luecke
1899250a53
Semicolons are nice...
2010-06-10 16:42:28 -05:00
klaaspieter and Randall Luecke
d9c094f644
call tableview doubleclick action even if target is nil (action will travel down the responder chain)
...
Conflicts:
AppKit/CPTableView.j
2010-05-31 19:14:54 -05:00
Alexander Ljungberg
47e890b8e1
Fixed table row drag view when using bindings.
2010-05-26 20:02:12 -04:00
Alexander Ljungberg
e3a07845d4
Implemented CPTableView clickedRow for use in double-action.
2010-05-26 19:24:36 -04:00
Alexander Ljungberg
341a42bddd
DataSource delegate method tableView:objectValueForTableColumn:row is optional if bindings are used to provide data for the table view.
2010-05-26 19:20:38 -04:00
Alexander Ljungberg
ed2c65dd6f
Merge branch 'master' of git://github.com/280north/cappuccino into bindings-merge
...
Conflicts:
AppKit/CPTableView.j
Foundation/CPArray+KVO.j
Foundation/CPArray.j
2010-05-26 19:05:04 -04:00
Klaas Pieter Annema and Randall Luecke
428f5a656d
changed default table view alternating row colors to aristo
2010-05-25 14:00:10 -05:00
Randall Luecke
79e8b6e242
Added API for changing tableview selection color and source list gradient.
2010-05-20 19:43:01 -05:00
Klaas Pieter Annema and Randall Luecke
6a34329765
fixed a typo where CPThemeStateSelectedDataView was set on the header view of a table column
2010-05-20 13:42:50 -05:00
Randall Luecke
1bc8536f0e
Row indexes which no longer exist are removed from selectedRowIndexes.
2010-05-19 21:15:50 -05:00
Randall Luecke
d6ac30be75
CPTableView dataViews when selected now use the new CPThemeStateSelectedDataView state to avoid conflict with other CPControl theme states.
2010-05-19 01:55:01 -05:00
Randall Luecke
76443a5d7f
Fire selectionIsChanging when selecting column. closes #437
2010-05-19 01:02:39 -05:00
Alexander Ljungberg and Randall Luecke
0be23981f3
Fixed a nonsensical CPTableview highlight style check which only accidentally did the right thing.
2010-05-18 23:57:00 -05:00
Alexander Ljungberg and Randall Luecke
f902223597
Edit table cells programmatically (editColumn:row:withEvent:select:). Also implements editedColumn and editedRow.
2010-05-18 23:56:42 -05:00
Randall Luecke
c31786c4c1
Refactored autoresizing
2010-05-12 19:01:28 -05:00
Randall Luecke
61d7fe04e8
If we tell the tableview not to draw a selection then we shouldn't draw it...
2010-05-12 18:43:56 -05:00
klaaspieter and Randall Luecke
7c786407a5
Merge remote branch 'klaaspieter/column-reordering'
...
Conflicts:
AppKit/CPTableHeaderView.j
2010-05-11 01:18:56 -05:00
Klaas Pieter Annema and Randall Luecke
79ba8fecd5
made column reordering work with scrolled content
2010-05-11 00:25:54 -05:00
Randall Luecke
983f0a92b2
- fixed a out of bounds error when clicking in the table header outside of any column
...
- made the dragged table column appear gray
- gave the tablecolumn drag view a white background
Conflicts:
AppKit/CPTableView.j
2010-05-11 00:25:19 -05:00
Klaas Pieter Annema and Randall Luecke
f7b766cc4a
- made the _dragViewForTableColumn:event:offset: method private
...
- removed the multiple column support from _dragViewForTableColumn:event:offset: (Cocoa doesn't allow multiple column selection / dragging)
- made the dragview the size of the dragged column
2010-05-11 00:24:03 -05:00
Klaas Pieter Annema and Randall Luecke
dca66f300d
- gave the drag column a proper 'image' representation
...
- constrained the drags y coordinates
- made sure a drag is never out of bounds
2010-05-11 00:23:55 -05:00
Randall Luecke
5b518797d7
fixed CPTableView moveColumn:
...
Conflicts:
AppKit/CPTableView.j
2010-05-11 00:18:05 -05:00
Randall Luecke
e5275514dd
OutlineView items auto expand when hovering over them.
2010-05-11 00:05:12 -05:00
cacaodev and Randall Luecke
0d35b38282
CPOutlineView: Fix a bug where newly expanded items would have a white disclosure control.
...
In CPTableView, add a method for data view selection. Use it in CPOutlineView for disclosure selection and do not subclass the entire -selectRows:... method.
Darken disclosure control when pressed depending on the selected state.
2010-05-10 15:03:06 -05:00
Klaas Pieter Annema
2fd85ab78f
made column reordering work with scrolled content
2010-05-05 14:08:06 +02:00
Klaas Pieter Annema
006f7e0c15
- fixed a out of bounds error when clicking in the table header outside of any column
...
- made the dragged table column appear gray
- gave the tablecolumn drag view a white background
2010-05-05 12:23:55 +02:00
Klaas Pieter Annema
040e7bc9ee
- made the _dragViewForTableColumn:event:offset: method private
...
- removed the multiple column support from _dragViewForTableColumn:event:offset: (Cocoa doesn't allow multiple column selection / dragging)
- made the dragview the size of the dragged column
2010-05-05 12:23:00 +02:00
Klaas Pieter Annema
6bb8514253
- gave the drag column a proper 'image' representation
...
- constrained the drags y coordinates
- made sure a drag is never out of bounds
2010-05-05 12:22:53 +02:00
Klaas Pieter Annema
71104e4902
fixed CPTableView moveColumn:
2010-05-05 12:22:16 +02:00
Klaas Pieter Annema
2bb16c3617
Merge branch 'master' of git://github.com/280north/cappuccino
2010-04-29 14:28:16 +02:00
Klaas Pieter Annema
4ef9202e92
made the tableview handle hiding and showing of columns properly
2010-04-29 14:22:46 +02:00
Ross Boucher
f5b360f66c
Move a lot of common initialization code into the _init method.
2010-04-27 10:49:50 -07:00
Ross Boucher
cdb089778c
autoscroll when drag selecting.
2010-04-25 15:43:23 -07:00
cacaodev and Ross Boucher
e1ad4a2fce
CPTableView: remove custom scrolling now that it's handled in the CPDragServer + CPClipView
2010-04-23 14:31:25 -07:00
Ross Boucher
b1282b4362
Fix an infinite recursion bug in CPBrowser, and add support for looking up a column/row by location.
2010-04-21 12:58:31 -07:00
Klaas Pieter Annema
6f0ca9d94c
Merge branch 'master' into bindings
...
Conflicts:
AppKit/CPTableView.j
AppKit/_CPCornerView.j
Foundation/CPArray.j
Foundation/CPKeyValueCoding.j
Foundation/CPKeyValueObserving.j
2010-04-15 10:57:46 +02:00
Randall Luecke
aea8f1f0dc
Added proper background color to the tableview.
2010-04-12 02:09:46 -04:00
Randall Luecke
e956d61a08
Fixed bug introduced by renaming of private class.
2010-03-31 16:41:13 -04:00
Randall Luecke
0ec7d4cd9a
Made drag feedback view in the tableview more correct, fixed encoding issues.
...
Conflicts:
AppKit/CPTableView.j
2010-03-31 16:11:10 -04:00
Ross Boucher
af53c271c7
Fix a few naming convention violations.
...
Make dragView.... use the columns its passed, rather than computing from scratch.
2010-03-26 13:59:41 -07:00
Randall Luecke
f73d96af08
Fixed black background of dragview in Opera and IE.
2010-03-22 19:24:32 -04:00