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 

Programmatic Data Binding & Cell Editor

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



Joined: 15 Sep 2009
Posts: 7

PostPosted: Wed Sep 16, 2009 6:17 pm    Post subject: Programmatic Data Binding & Cell Editor Reply with quote

Hello,

I am using Programmatic Data Binding -- I have my own data source that implements the IList interface -- and I would like to use a Cell Editor.

I have set up the CellData.Editor property inside the GetCellData event handler. The editor control is showing up inside my grid, it works nicely, but when I leave the editor the value displayed on the grid is not updated.

Which event to do I need to handle to update my internal data source?

Thanks


Last edited by lonestar on Thu Sep 17, 2009 7:34 pm; edited 2 times in total
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Thu Sep 17, 2009 1:47 am    Post subject: Reply with quote

If you are using programmatic binding then you need to handle the SetCellValue event to handle setting the edited value back into your data source.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
lonestar



Joined: 15 Sep 2009
Posts: 7

PostPosted: Thu Sep 17, 2009 7:36 pm    Post subject: Reply with quote

Thank you.
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