The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
		
			|  | 
			
		
			|  | 
				
					| Formatting column in datagrid in design time...  Posted: 09 Sep 10 1:23 PM
 |  
					| Hello people!! Im new in SLX, and i want to know how can i change the format of the column in datagrid... I want to set "currency", but when i try something like 
 Set col = dgComission.Columns.Add(0)
 col.FieldName = "COMISSION"
 col.Caption = "Comission"
 col.Width = 300
 col.visible = false
 col.Format = ftCurrency    --> this dont works..
 col.ReadOnly = True
 col.DisableEditor = True
 
 
 anyone can help me? thanks!
   |  
					|  |  | 
			|  |  | 
			|  |  | 
			|  | 
				
					| Re: Formatting column in datagrid in design time...  Posted: 10 Sep 10 9:11 AM
 |  
					| col.Width = 300  is WAY TOO WIDE! col.visible = false  OK so you won't be able to see this
 
 col.ReadOnly = True OK so you won't be able to see this why even set this?
 
 col.DisableEditor = True OK so you won't be able to see this why even set this?
 |  
					|  |  | 
			|  |