Skip to content
This repository

Fixing bug: row missing after all of its cells were scrolled off the visible rect #10

Closed
wants to merge 1 commit into from

3 participants

Jonas Alves saulobrito Jorge Peixoto Vasquez
Jonas Alves
jonasfa commented May 27, 2011

Fixing bug: row missing after all of its cells were scrolled off the visible rect.

This change may fix the following issue too: #8

saulobrito

And it does it seems to fix issue 9 also: #9

Jorge Peixoto Vasquez

Your solution works but effectivelly strips away all optimization code Daniel has originally put in the checkViews method. It also crashes if even a call to initialise view doesn't add any cells.

Please see this fix, which I believe goes to the root cause of the problem: #20

Jonas Alves jonasfa closed this December 18, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

May 26, 2011
Fixing bug: row missing after all of its cells were scrolled off the …
…visible rect
2fa9202
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 1 addition and 4 deletions. Show diff stats Hide diff stats

  1. 5  DTGridView.m
5  DTGridView.m
@@ -443,10 +443,7 @@ - (void)loadData {
443 443
 
444 444
 - (void)checkViews {
445 445
 		
446  
-	if ([cellInfoForCellsOnScreen count] == 0) {
447  
-		[self initialiseViews];
448  
-		return;
449  
-	}
  446
+    [self initialiseViews];
450 447
 	
451 448
 	NSMutableDictionary *leftRightCells = [[NSMutableDictionary alloc] init];
452 449
 		
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.