Infralution Support Forum Index Infralution Support
Support groups for Infralution products
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Capturing CheckBox Change Event

 
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support
View previous topic :: View next topic  
Author Message
sprugh
Guest





PostPosted: Wed Feb 01, 2006 10:56 pm    Post subject: Capturing CheckBox Change Event Reply with quote

I'm using a Checkbox Bound to a Column in a DataTable.

I'm trying to figure out the best place to capture when a user clicks on a checkbox.

If I capture the SetCellValue event from the tree, I get called. In there, I can check the Column information to determine if the desired column was updated. Is this the best place?

It appears that the data is not applied to the Datasource yet. So, in here, I can't look in the Datasource for changes to update a display. In this case, I want to check how many rows the user has clicked on and create a plain english interpretation in an info window.

Do I have to keep track of all the changes in another list since it appears that the DataSource is not updated until all changes are committed?

Thanks,
-Scott
Back to top
sprugh
Guest





PostPosted: Wed Feb 01, 2006 11:09 pm    Post subject: Capture ColumnChanged Reply with quote

It appears a nice way to do this is to capture Table_ColumnChanged. This seems to work nicely.
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Feb 02, 2006 2:56 am    Post subject: Reply with quote

I assume you've answered you own question here?
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
sprugh



Joined: 02 Feb 2006
Posts: 4
Location: Chicago, IL

PostPosted: Thu Feb 02, 2006 3:51 pm    Post subject: Question Answered Reply with quote

Yes.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Infralution Support Forum Index -> Virtual Tree Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group