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: Update DataGrid
Andrew James
Posts: 51
 
Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Sep 09 9:39 AM
Hi

I am currently editing the Add Edit Sales Order form. At the moment if I edit the quantity the extended price only gets calculated once you click on a different row (on the data grid). What I would like to happen is to have this update once the focus leaves the datagrid. i.e. edit a text box or click cmdOK etc.

Regards
Andrew James
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 8:12 AM
Just a guess, but you should be able to move the code for this from the grid's OnChangeNode to the OnEdited or OnEditedRow events.
[Reply][Quote]
Andrew James
Posts: 51
 
Re: Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 8:21 AM
The OnChangeNode event is not being used on this datagrid. And the code that is in the edited event is only run when you click elsewhere on the datagrid. If I change the quantity and leave the datagrid nothing happens, I have to click on a seperate record for it to update. Im currently on v7.2 does anyone know if 7.5 has updates the datagrid so that there is an onkeypress event?
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 8:53 AM
I see now what you mean. It is still behaving this way in 7.5 and, no there are no changes to the data grids control to expose a key press event.
[Reply][Quote]
Kris Halsrud
Posts: 88
 
Re: Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 8:59 AM
BTW, this behavior is not normal for the SLX grids but is due to the fact that this screen uses a disconnected recordset to display in the grid. Apparently the events run slightly differently in the grid when the grid is bound in this fashion. (If you look at the opportunity products grid it behaves the way you want. This is a connected recordset.)
[Reply][Quote]
Andrew James
Posts: 51
 
Re: Update DataGridYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Sep 09 10:08 AM
Thanks Kris, just got to make them work the same now
[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 3:20:00 PM