Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Monday, August 18, 2025 
 
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 Nodes Count
Kevin Austin
Posts: 105
 
Data Grid Nodes CountYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Feb 08 5:05 AM
Hi all, I'm having trouble getting a true count of all nodes within a datagrid as it only gives the number of visible nodes rather than the true number of nodes. I know that double clicking a node expands all the nodes but I can't for the love of me programatically work this out. All help appreciated.

Cheers
Kevin
[Reply][Quote]
Matt Dockins
Posts: 159
 
Re: Data Grid Nodes CountYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 06 Feb 08 8:36 AM
DataGrid or TreeView?

If you are trying to count the fields in the datagrid then I would just multiply the number of fields x the datagrid's recordset's recordcount

If you are trying to count the nodes in a treeview control, I would tend to count them as I'm inserting them into the treeview.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: Data Grid Nodes CountYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 3:40 AM
I don't insert the nodes I provide a sql statement. Basically I want to work through all the nodes one by one but until I've click on a node to activate the double click expanding functionality I can't refer to any node that is not visible unless I scroll. It's weird.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: Data Grid Nodes CountYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 12 Feb 08 5:19 AM
Ah I've finally cracked this one.. refer to the recordset rather than the nodes! Cheers anyway
[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 © 2025 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): 8/18/2025 5:12:40 PM