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 - Controls
Forum to discuss usage & tips for SalesLogix controls and other 3rd party ActiveX controls. View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to Controls | New ThreadView:  Search:  
 Author  Thread: Datagrid row loop; Datagrid row properties
Emily
Posts: 5
 
Datagrid row loop; Datagrid row propertiesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 May 09 10:29 AM
Hello,

I have a request to have checkboxes in a datagrid column only enabled on certain rows, based on a value in another column in the row. So, two questions:

1. Is it possible to loop through the rows in a datagrid, or can I only loop through the recordset?

2. Is it possible to set the "readonly" property for the row AND column or is it set uniformly for the whole column only?

Thanks!
[Reply][Quote]
Emily
Posts: 5
 
Re: Datagrid row loop; Datagrid row propertiesYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 05 May 09 4:59 PM
I found the answer to the second question:

Use the OnEditing event of the grid to check if it's OK for the value the user is trying to change to be changed. If not, return false, if so, return true.
[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 9:20:11 AM