Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Friday, August 29, 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: DataGrid Edit
Kevin Austin
Posts: 105
 
DataGrid EditYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 09 7:08 AM
Hi,

I've got two data grids on a form, one is editable, one is a summary. The summary data grid is effectively a summary of the other. When I edit a value I want the summary data grid to reflect the change in value. I've tried refreshing the summary grid after the value is entered using the Edited event but I find that unless I refresh the edit data grid before refreshing the summary data grid the new values will not show.

All help appreciated.

Cheers
Kevin
[Reply][Quote]
RJ Samp
Posts: 973
Top 10 forum poster: 973 posts
 
Re: DataGrid EditYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 09 9:12 AM
It sounds like you already have your answer.

You don't specify HOW the edit is being made (data form popup or inline!)
but after editing I would fire off the OnEdited and OnEditRow events and refresh the edited grid AND then refresh the summary grid.

You need to flush the data changes out to the hard drive for your summary grid SQL query to get the newly updated data from the edit grid.
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: DataGrid EditYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 09 9:14 AM
I'm typing the values directly into the grid, so there's no way around not refreshing the edited grid?
[Reply][Quote]
Kevin Austin
Posts: 105
 
Re: DataGrid EditYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 22 Oct 09 9:21 AM
I've got a work around (I think haven't tested it yet). Basically have a boolean value set when the data grid is edited then in the onchangenode event check to see if the variable is set and then execute the refresh on the summary table. This should mean the data is already posted. Cheers for replies.
[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/29/2025 4:47:29 PM