 	// MARK: UIResponder
 	
 	public override func canBecomeFirstResponder() -> Bool {
+		if model.expandCollapseWhenSelectingRow == false {
+			return false
+		}
 		return true
 	}
 	

		if !super.becomeFirstResponder() {
			return false
		}
		expandCollapse()
		return true
	}
	

		return 60
	}
	
	var isExpandedCellVisible: Bool {
		guard let sectionArray = form_tableView()?.dataSource as? TableViewSectionArray else {
			return false
		}
		guard let expandedItem = sectionArray.findItem(expandedCell) else {
			return false
		}
		if expandedItem.hidden {
			return false
		}
		return true
	}
	
	public func form_didSelectRow(row: RowRef) {
		if model.expandCollapseWhenSelectingRow == false {
			print("cell is always expanded")
			return
		}

		if isExpandedCellVisible {
			resignFirstResponder()
		} else {
			becomeFirstResponder()
