Created
          September 20, 2012 17:12 
        
      - 
      
- 
        Save ktiedt/3757129 to your computer and use it in GitHub Desktop. 
    original "multiple" but toggle selection mode
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | _handleSelect: function(event, currentTarget){ | |
| if (this.selectionMode != "multiple") { | |
| console.log("!multiple inherited return"); | |
| return this.inherited(arguments); | |
| } | |
| var row = this.row(currentTarget), | |
| selected = this.selection[row.id]; | |
| if (selected) { | |
| console.log(this.selection); | |
| console.log("selected return"); | |
| return this.select(row, row, false); | |
| } | |
| console.log("inherited"); | |
| this.inherited(arguments); | |
| }, | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment