Randall Luecke
ecb88a87ad
Added proper grid drawing for highlighted rows. Closing issues #369 Also fixing bug where top row would not draw its background when clipped
2010-02-01 02:33:04 -05:00
cacaodev and Randall Luecke
86fa759f9f
CPTableHeaderView.j: Gradient headers for canvas capable browsers | Bg images for others. Column selection with pressed state.
...
AppController.j: Modified left table in TestTable to test column selection.
CPTableView.j: Added missing ivar; Fixed -deselectRow|Column:
2010-01-30 13:05:48 -05:00
Klaas Pieter Annema and Randall Luecke
c423411639
made sure CPControl's trackMouse: doesn't eat mouse events when the tableview is in a drag session #431
2010-01-29 11:36:13 -05:00
Randall Luecke
b9b2649db9
Cleaned up merge and removed unnessisary selectionIsChanging notification.
2010-01-29 01:37:57 -05:00
Derek Hammer and Randall Luecke
df98483b06
Removing extraneous selection did change notifications
2010-01-29 01:28:09 -05:00
cacaodev and Randall Luecke
37fbeaad02
CPTableView -dragViewForRowsWithIndexes:
...
- Change the way dragViewOffset is computed to conform to cocoa
- Drag exposed rows only
2010-01-29 01:22:38 -05:00
Randall Luecke
1170673b92
selection did change is no longer posted if selectionShouldChangeInTableView returns NO. Closes 372. Keyboard navigation in tableview now honors selectionShouldChange.
2010-01-24 20:01:58 -05:00
Randall Luecke
fb89450b90
Refactored keyboard navigation for CPTableView
2010-01-24 03:39:58 -05:00
Klaas Pieter Annema and Randall Luecke
c291ad83f1
Implemented visual feedback when dragging in CPTableView
...
Conflicts:
AppKit/CPTableView.j
2010-01-24 02:37:25 -05:00
cacaodev and Randall Luecke
e40696a7af
CPTableView: drag & drop improvements
...
- Default dragView containing dragged rows, works with discrete rows
- scroll-as-you-drag feature
- draggingEntered returns a drag operation. Rearranged a bit the code.
- fixed dragPoint/target row
- Modified test app so you can drag in both ways and also move indexes internally
2010-01-23 02:56:59 -05:00
Randall Luecke
22aa4d359e
Hard coded header view resources into the CPTableView
2010-01-22 02:09:22 -05:00
Randall Luecke
db7b340b32
Fixed outline view again after scoping fix.
2010-01-13 22:34:39 -05:00
Randall Luecke
7683755137
Fixed scoping issues with last commit.
2010-01-13 22:22:44 -05:00
Randall Luecke
8de71663c2
Fixes for the CPTableView drag operation (selection and drag and drop) after the nasty fix for the outlineview fix for Safari.
2010-01-13 21:30:10 -05:00
Randall Luecke
82ce66af16
Further hack to fix the CPOutlineView which is broken in Safari.
2010-01-13 19:30:11 -05:00
Francisco Ryan Tolmasky I
24b495ca43
Temporary fix for CPTableView being broken.
...
Reviewed by me.
2010-01-12 22:52:34 -08:00
Randall Luecke
c2282af879
Removed called to super on keyDown which was invoking a scroll in addition to calling scrollRowToVisible.
2010-01-09 14:21:07 -06:00
Francisco Ryan Tolmasky I
44b257a749
Removed spaces at the end of lines.
...
Reviewed by me.
2010-01-07 22:23:32 -08:00
Randall Luecke
bbc521a2f3
removed call to scrollRowToVisible: the bug is in clipviews and should not be fixed in the tableview itself.
2010-01-08 00:05:24 -06:00
Randall Luecke
c4b2cf9394
Patch for inline editing in CPTableView and clean up of doubleAction:
2010-01-07 20:35:27 -06:00
Randall Luecke
9ac823833a
Fix for TableView drag being started while sometimes selecting
2010-01-07 19:42:31 -06:00
Randall Luecke
aa309ef27c
Implementation of drag and drop, auto resizing columns, keyboard support, scrollToVisible for columns and rows, double click action, deselectAll, and various other bug fixes and features.
2010-01-07 17:34:02 -06:00
Ross Boucher
7042f89620
Fix a return type error. Closes #358 .
2009-12-17 00:57:09 -05:00
Nicholas Small
d14e077511
Make CPTableView selection notifications behave the same as in Cocoa.
2009-12-10 03:07:22 -05:00
Randall Luecke and Ross Boucher
b394052145
fixed tableview typo
2009-11-17 09:16:30 -08:00
Ross Boucher
9ab75eb662
Fixes a type which was causing columnWithIdentifier: in CPTableView to be broken.
2009-10-25 17:41:45 -07:00
Francisco Ryan Tolmasky I
2348a8ebd3
Brought cib support up to date with TableView changes.
...
Reviewed by me.
2009-09-17 00:38:19 -07:00
Francisco Ryan Tolmasky I
46dbce0dbb
Fix for not being able to set headers on table view.
...
Closes #264 .
Reviewed by me.
2009-09-15 02:30:18 -07:00
Francisco Ryan Tolmasky I
1bdea9ff45
Added selection delegate methods support to tableview and outlineview.
...
Reviewed by me.
2009-09-11 18:28:57 -07:00
Francisco Ryan Tolmasky I
17273ecbfa
Added disclosure views to outline view.
...
Reviewed by me.
2009-09-11 10:24:16 -07:00
Francisco Ryan Tolmasky I
fd62233960
Cleaned up outline view indentation code, and added parentForItem:.
...
Reviewed by me.
2009-09-10 17:02:47 -07:00
Francisco Ryan Tolmasky I
041f8200df
First pass at CPOutlineView.
...
Reviewed by me.
2009-09-09 17:48:59 -07:00
Francisco Ryan Tolmasky I
b77eef0cd3
Fix for typo in method name.
...
Reviewed by me.
2009-09-08 02:44:55 -07:00
Francisco Ryan Tolmasky I
98e18340b7
Fix for tableview breaking when header view is removed.
...
Reviewed by me.
2009-09-07 18:22:34 -07:00
Francisco Ryan Tolmasky I
d1c0237bf3
Fix for recursive notification postings crashing. Also fixed sizing issues with tableview, including crashing when not in a superview.
...
Closes #238 .
Reviewed by me.
2009-08-25 16:08:07 -07:00
Francisco Ryan Tolmasky I
14ba9c95eb
Fix for incorrect calculation in rowsInRect when rect is out of bounds, or when there are 0 rows in CPTableView.
...
Reviewed by me.
2009-08-24 23:03:35 -07:00
Francisco Ryan Tolmasky I
8990f6c387
Minor fixes and added licenses to files.
...
Reviewed by me.
2009-08-21 23:32:34 -07:00
Francisco Ryan Tolmasky I
7528c452c4
Cleaned up row highlighting and added support for drawing column selection as well.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
824cd6d5f1
Removed unecessary functions.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
3f7db4ca12
Improved grid drawing code.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
2ee3b93e0d
Made it so you can have arbitrary number of alternating row colors.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
bd69683dc2
Fix for infinite loop when sizing last column to fit.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
1b8f263224
Fix for using tabledrawview.
...
Reviewed by me.
2009-08-21 20:03:26 -07:00
Randy and Francisco Ryan Tolmasky I
58aef6ef74
tableview fixes
2009-08-21 20:03:26 -07:00
Francisco Ryan Tolmasky I
ddc9334af3
Merge branch 'master' into tableview
...
Conflicts:
AppKit/CPTableColumn.j
AppKit/CPTableView.j
2009-08-10 15:09:10 -07:00
lowell vizon and Francisco Ryan Tolmasky I
377f331b47
Documentation Edits: Replaced <code> and <pre> tags with \c; this allows monospaced text to be displayed with formatted text without needing a new line. See AppKit/CPView after generating documentation for examples. Also added - and + signs to the above changes when referring to either an -instanceMethod or a +classMethod. --lowell@cocoastep
...
Signed-off-by: Francisco Ryan Tolmasky I <francisco@280north.com >
2009-08-08 03:50:50 +08:00
Francisco Ryan Tolmasky I
cb81eeed15
Fix for selection in tableview.
...
Reviewed by me.
2009-07-07 18:42:44 -07:00
Francisco Ryan Tolmasky I
4086d37dac
Slight fixes for resizing tableviews.
...
Reviewed by me.
2009-07-07 10:26:03 -07:00
Francisco Ryan Tolmasky I
528ef4394a
Beginnings of nib2cib support for new tableview.
...
Reviewed by me.
2009-07-05 07:59:54 -07:00
aburkhalter
7ca3473b64
failing test for issue #112 , fix for said issue of _doubleAction ReferenceError
2009-06-06 17:51:32 -07:00