Home » U++ Library support » ArrayCtrl, HeaderCtrl & GridCtrl » GridCtrl empty cells pasted from Excel  
	
		
		
			| Re: GridCtrl empty cells pasted from Excel [message #17700 is a reply to message #17699] | 
			Tue, 26 August 2008 16:24   | 
		 
		
			
				
				
				  | 
					
						  
						koldo
						 Messages: 3453 Registered: August 2008 
						
					 | 
					Senior Veteran  | 
					 | 
		 
		 
	 | 
 
	
		Well, surfing through the upp source I have found and test the first question. 
 
- Is there any way to convert safely a Value to a String?. 
Yes, it is ToString(), so the function Format is now: 
 
struct ConvBool : Convert 
{ 
Value Format(const Value &q) const 
{ 
if (!q.IsNull()) { 
return (q.ToString() == "1") ? "Yes" : "No"; 
else 
return Null;  
} 
};
		
		
  Best regards 
IƱaki
		
 |  
	| 
		
	 | 
 
 
 |  
  
 
	
	  | 
	 | 
	
		GridCtrl empty cells pasted from Excel
		By:  koldo on Sat, 09 August 2008 01:11  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Mon, 25 August 2008 12:31  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  unodgs on Mon, 25 August 2008 14:37  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  unodgs on Mon, 25 August 2008 14:51  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  unodgs on Mon, 25 August 2008 15:07  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Mon, 25 August 2008 22:02  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  unodgs on Mon, 25 August 2008 23:03  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Tue, 26 August 2008 11:16  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  unodgs on Tue, 26 August 2008 12:08  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Tue, 26 August 2008 12:07  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Tue, 26 August 2008 16:11  
	 | 
 
	  | 
	 | 
	
		Re: GridCtrl empty cells pasted from Excel
		By:  koldo on Tue, 26 August 2008 16:24  
	 | 
  
Goto Forum:
 
 Current Time: Tue Nov 04 17:13:30 CET 2025 
 Total time taken to generate the page: 0.00748 seconds 
 |