Randall Luecke
fdf47eb84e
Fix for tableview reloadData call inside setObjectValue: causing additional editing to being.
2011-01-27 14:37:26 -05:00
Randall Luecke
30695e4110
Document delete key delegate in tableview.
2011-01-25 11:03:12 -05:00
Stephen Ierodiaconou
6a942630e4
Fixing spelling mistakes
2011-01-24 11:05:48 +02:00
Randall Luecke
04f1b61534
Fixes to tableview inline editing.
2011-01-24 00:56:39 -05:00
Randall Luecke
f07543045a
Doc fixes and more docs in the tableview.
2011-01-20 03:07:01 -05:00
Klaas Pieter Annema
ed98a44116
detect sort descriptors when table column is added
2011-01-18 09:29:29 +01:00
Klaas Pieter Annema
50d36e76ac
reverse set sort descriptors in CPTableView
2011-01-18 09:29:28 +01:00
Randall Luecke
47afb96c4c
Drawing fixes for the tableview gradient.
2011-01-17 23:30:04 -05:00
Randall Luecke
8720a952b0
Fix for scrollview flashing while uniformly resizing columns. Closes #1075
2011-01-16 00:23:14 -05:00
Randall Luecke
05e69c85c7
More documentation of the tableview, outlineview, and table columns. Wrapped formatted documenation in <pre> tags and added sample code for using custom dataviews
2011-01-12 23:40:28 -05:00
Randall Luecke
b393d0597f
If selectedRow no longer exists when numberOfRows change reset it to CPNotFound. Closes #1089 .
2011-01-12 11:49:36 -05:00
Klaas Pieter Annema
3d5232b308
give objects a chance to change their binder class
...
- make every object calling getBinding:forObject: aware of this change
- implement _CPCheckBoxValueBinder to handle binding to the value of a checkbox Closes : #1083
- re-implement CPTextField's behavior for controller markers using the new binder class
- disabled some tests that are not compliant with Cocoa
2011-01-07 14:14:19 +01:00
Randall Luecke
8254543da7
Fix for scrollColumnToVisisble also scrolling in the Y direction. Also fixed headerview not being scrolled. Closes #1081
2011-01-06 15:22:18 -06:00
Randall Luecke
2028efabc3
Fix for scrollRowToVisible changing the X value instead of just the Y. Closes #1082
2011-01-06 15:08:35 -06:00
Randall Luecke
477e9f85be
Fix for variable row heights when initial setup of the tableview had zero rows
2011-01-06 14:50:40 -06:00
Klaas Pieter Annema
46eca09d69
determine sorted column in setSortDescriptors:
...
Closes #1079
2011-01-05 12:48:19 +01:00
Randall Luecke
af4e69afc9
Fix for variable row heights with no rows on startup
2011-01-05 01:46:12 -06:00
Randall Luecke
692c43a3cc
Snap columns when we size the last column to fit.
2011-01-04 12:36:57 -06:00
Randall Luecke
76d5051833
Remove unused variable
2011-01-03 20:25:56 -06:00
Alexander Ljungberg
754324d253
Table view documentation fix.
2011-01-03 16:36:26 -03:00
Alexander Ljungberg
92d44b12bd
Fixed: a recent change disabled first and last column resizing modes.
2010-12-31 20:56:24 -03:00
Alexander Ljungberg
36c673c660
Whitespace cleanup.
2010-12-31 15:25:39 -03:00
Alexander Ljungberg
c0af2af7e7
Merge branch 'master' of https://github.com/Kentzo/cappuccino into Kentzo-master
2010-12-31 15:12:35 -03:00
Alexander Ljungberg
08dd7d6951
ASCII fix, cleanup.
2010-12-31 14:18:56 -03:00
Ilya Kulakov
044fc3af69
Refs issue #1607 . Make CPTableView the first responder after user is done editing dataview.
2010-12-31 12:07:42 +06:00
Alexander Ljungberg
c27edb2475
Various documentation fixes.
2010-12-30 00:06:06 -03:00
Alexander Ljungberg
58d4030133
Brief documentation about using bindings to provide data for a table view.
2010-12-29 23:40:30 -03:00
Klaas Pieter Annema
f3b4e7f752
fixes for inline table editing
...
- make sure the data view is reset to it's no editable state when a textfield is dismissed without editing
- remove a comment (selectText: works now)
2010-12-27 19:48:21 +01:00
Randall Luecke
4b653ee367
in sizeLastColumnToFit make sure we respect min/max widths
2010-12-27 12:05:38 -06:00
Klaas Pieter Annema
d2cdd46466
fix a typo in CPTableView
2010-12-27 13:52:50 +01:00
Randall Luecke
f64cc4c655
Bounds errors on rectOfColumn
2010-12-27 01:25:32 -06:00
Randall Luecke
e31af96ef9
Made the selection behavior more correct
2010-12-27 00:59:46 -06:00
Randall Luecke
562bb8a878
setIntercellSpacing doesn't update dateviews. Closes #827
2010-12-26 17:39:10 -06:00
Randall Luecke
645741aa23
Merge branch 'master' of git://github.com/280north/cappuccino
2010-12-26 16:14:34 -06:00
Randall Luecke
97b141b653
Fixes for uniform column resizing
2010-12-26 13:44:31 -06:00
Francisco Ryan Tolmasky I
e45ed19dc7
Fix remaining failing tests and add indexOfObject:inSortedRange:options:usingComparator:, and removed non-standard methods:
...
- indexOfObject:sortedBySelector:
- indexOfObject:sortedByFunction:
- indexOfObject:sortedByDescriptors:
- indexOfObject:sortedByFunction:context:
Reviewed by me.
2010-12-25 21:10:32 -08:00
Randall Luecke
946cd381a0
Compelete documentation of the tableview and tablecolumns (which the exception of bindins)
2010-12-21 02:29:14 -05:00
Randall Luecke
14226ef69c
Merge branch 'master' of git://github.com/280north/cappuccino
2010-12-19 20:19:02 -05:00
Randall Luecke
910691ad4b
Capp Lint of tableview
2010-12-19 20:18:36 -05:00
Alexander Ljungberg
115d29b6f8
Fixed: if data source was nil, the table view needlessly warned about no content binding in numberOfRowsInTableView.
...
A table with a nil data source and no content binding is simply an empty table, or more likely, a table not fully configured yet.
2010-12-19 22:54:29 +01:00
Randall Luecke
088b6eac35
Last row of the tableview didn't draw
2010-12-19 15:32:52 -05:00
Randall Luecke
86c10e687b
Row offset regression fix, removed console.log
2010-12-19 02:06:25 -05:00
Randall Luecke
5d69bbc4ca
Fixed several bugs and regressions in the tableview.
2010-12-18 22:31:49 -05:00
Klaas Pieter Annema
8aeaa6681a
implement menuForEvent in CPTableView
2010-12-15 15:30:10 +01:00
Klaas Pieter Annema
8a0a68248c
don't check valid row range in dragging code
2010-12-15 15:30:10 +01:00
Alexander Ljungberg
2af2fc31a1
Fixed: archived table views could end up with a nil sort descriptor instead of an empty array.
2010-12-14 21:36:04 +01:00
Alexander Ljungberg
f2b2852b76
Allow array controllers as table sources in cibs.
...
When an array controller is loaded from a cib, the data source may be connected before the bindings are. Hence, we can't check for required data source methods at the time because we do not know if we are using bindings yet. The new behaviour is to only warn when the methods are actually required, which matches Cocoa.
2010-12-14 17:35:34 +01:00
Francisco Ryan Tolmasky I
c2ee9a9a5e
Fix for rows not showing up in tablviews that were not directly in scrollviews.
...
Reviewed by Randy.
2010-12-04 18:52:46 -08:00
Randall Luecke
54e106bb14
Merge branch 'master' of git://github.com/280north/cappuccino
...
Conflicts:
AppKit/CPTableView.j
2010-12-02 19:51:40 -05:00
Randall Luecke
3d1992440b
Fix drag and drop bug
2010-12-02 19:50:55 -05:00