Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, November 29, 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: Where are the columns of a data grid defined?
Zaurusman
Posts: 44
 
Where are the columns of a data grid defined?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Apr 06 5:18 PM

clomid

clomid truzannelousberg.nl
fiogf49gjkf0d
My experience developing for the network client has mostly been adding new forms (w/o grids) and moving/change controls on the page, all in 6.1. 6.2 is obviously different, but now I'm also looking at grids. For example, the product tab for opportunities. I'd like to remove the "price level" column from that grid, and have searched for the text and commented it out. Still, it persists in the grid. As I try to find where the grid's parameters are being defined I keep coming across functions whose definition I can't find anywhere in Architect -- and definitely not in the script behind the Opportunity Product form. Where should I be looking, or is there a quick and easy way to change this that I've overlooked?

TIA!
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Where are the columns of a data grid defined?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Apr 06 5:27 PM
fiogf49gjkf0d
Zaurusman,

The columns for a datagrid could be defined in several places. The datagrid control itself has a SQL property where the SQL statement is defined (which includes columns that will be selected for the data the grid is bound to. The datagrid also has a Columns property where you can define columns and datatypes for columns that display in the grid. The datagrid also has an exposed Recordset property where the grid can be bound to a live recordset. However, all of this can be done via code as well. So, this means that aside from looking at the properties of the grid, there are many places in the code where those columns could be set as well.

My experience is that many of the OOTB plugins, especially those with grids are overly complicated and a real pain to customize. So.... keep digging
[Reply][Quote]
Zaurusman
Posts: 44
 
Re: Where are the columns of a data grid defined?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Apr 06 5:52 PM

cialis cena

cialis 20mg vs 10mg go
fiogf49gjkf0d
Thanks, Ryan. I don't see any data in the properties (that would be too easy, right?) There is a PopulateDataGrid routine in which I've commented the line giving that column a value, and removed it from the SQL string in that routine. I'm thinking it may have something to do with this:

DefineProductsGrid(strOpportunityID)

Problem is, DefineProductsGrid() is in the script behind the form. Do you know where's that function's code is located? I've found several in the script behind this form that are not defined in the code anywhere.
[Reply][Quote]
Ryan Farley
Posts: 2265
slxdeveloper.com Site Administrator
Top 10 forum poster: 2265 posts
 
Re: Where are the columns of a data grid defined?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 04 Apr 06 6:28 PM
fiogf49gjkf0d
You might have disabled the code that populates the data, but there is possibly still other code that sets up the columns for the grid.

To locate the DefineProductsGrid check the included scripts as well. You could also do a find in the Architect to locate that string in *all* scripts which might help you find it (but if it is used there then it would have to be either in the script behind the form or in an include script)
[Reply][Quote]
Zaurusman
Posts: 44
 
Re: Where are the columns of a data grid defined?Your last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 Apr 06 10:39 AM

mixing weed and adderall

mixing adderall and weed
fiogf49gjkf0d
Presto!

That's where the columns were added and commenting a block of code removed it. Thanks for your help, Ryan!
[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/29/2024 9:08:23 AM