Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Tuesday, November 26, 2024 
 
slxdeveloper.com Community Forums  
   
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!
 Architect Forums - SalesLogix Scripting & Customization
Forum to discuss writing script in Architect plugins for SalesLogix & general SalesLogix customization topics (for Windows client only). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to SalesLogix Scripting & Customization | New ThreadView:  Search:  
 Author  Thread: Data Grid - Colour coding
Kevin Austin
Posts: 105
 
Data Grid - Colour codingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Oct 06 4:18 AM
fiogf49gjkf0d
Hi, I've searched the forums with no luck on this subject. Basically I'm trying to format rows or cells (similar to the activities tab) on a data grid using different colours dependent on a date I enter into one of the cells. I should imagine this is possible, I'm just unaware of the solution.

All help appreciated.
[Reply][Quote]
Jason Buss
Posts: 382
 
Re: Data Grid - Colour codingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Oct 06 9:37 AM
fiogf49gjkf0d
What version of SalesLogix? I don't beleive that you can set do that with a SalesLogix datagrid, up to 6.2.4 but will be able to do so in 7 (can someone confirm that?)

Otherwise, I suppose another option would to use a third party grid control which would allow for formatting columns that way.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: Data Grid - Colour codingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Oct 06 9:41 AM
fiogf49gjkf0d
I'm using SalesLogix v 6.2.0.1474, ideally if I can't colour certain cells/rows, is there any way of bolding them instead or changing the appearance in some shape or form?
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Data Grid - Colour codingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 09 Oct 06 2:19 PM
fiogf49gjkf0d
I can't recall which version this came in, but I don't believe it is available in 6.2.0 (I think it may have been 6.2.3 or 6.2.4), but the grid's CustomDrawCell event allows you to change the color and font.

Sub DataGridCustomDrawCell(Sender, ByRef Node, ByRef Column, IsSelected, IsFocused, ByRef Text, ByRef Color, ByRef Alignment, ByRef Font, ByRef FontColor)
Font.Bold = True
Color = YourColor
'etc
End Sub


But, if you don't see that on the events list in 6.2.0 (and I don't believe you will) then you'd be out of luck until you move to 6.2.4.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: Data Grid - Colour codingYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 10 Oct 06 8:56 AM
fiogf49gjkf0d
I was wrong with the version, we've installed service pack 3 recently so what you suggested Ryan is avaliable. Many thanks, appreciated!
[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 11/26/2024 4:26:41 PM