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 

Using UniversalEditBox

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





PostPosted: Sun Feb 05, 2006 2:57 pm    Post subject: Using UniversalEditBox Reply with quote

Dear,
I used the UniversalEditbox as a CellEditor for a particular column in the design time. In the run time when i edit the column a dropdown list appears (fine) to select a new value, but the cell value never changed to take the new value.
What have i do to make my selection reflects immdiatly the current cell?
Is there is any code or property i missed?

Thanks
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Feb 06, 2006 12:34 am    Post subject: Reply with quote

What type of data binding are you using (Object, DataSet or programmatic)?

If you are using Object or DataSet binding then the underlying datasource should be automatically updated (by default when the the user moves the focus from that cell). If you are using programmatic binding then you need to handle the SetCellValue event/method to set the value in your data source.

You can change the CellEditor.UpdateValueEvent property (in the Virtual Tree editor) to the ValueChanged event (by default the Validated event used) if you want the cell value to be changed immediately the user selects a value from the dropdown.
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
Sherif Abdeen
Guest





PostPosted: Mon Feb 06, 2006 7:17 am    Post subject: Reply with quote

Dear,
Yes I use dataset, setting the CellEditor.UpdateValueEvent property to the valueChanged solves the problem. Thanks for your assitance, I am really happy of buying and using the virtualtree control.
what is the best way to download the virtualtree new release?

Thanks again & Best Regards
Back to top
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Mon Feb 06, 2006 9:19 am    Post subject: Reply with quote

You can download it from our downloads page (www.infralution.com/downloads.html).
_________________
Infralution Support
Back to top
View user's profile Send private message Visit poster's website
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