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 

Link label to some list item

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



Joined: 13 Jul 2011
Posts: 62
Location: Sydney, Australia

PostPosted: Wed Nov 25, 2015 2:05 am    Post subject: Link label to some list item Reply with quote

I want to show link label to some items, to allow user to click to the item and perform some action. For example:

- Name: Bill smith
- Age: 31
- Home page: www.mypage.com.au (link label)
- Location: Sydney

I can use the CellEditor & LinkLabel to the virtual tree, then all cell has the link label. I could then update the GetCellData() method, set e.CellData.Editor.Control = null to non linkable cell.

Is this preferred approach?

Thanks
Back to top
View user's profile Send private message
Infralution



Joined: 28 Feb 2005
Posts: 5027

PostPosted: Wed Nov 25, 2015 5:52 am    Post subject: Reply with quote

Almost. You should set e.CellData.Editor = null rather than the Editor.Control.
_________________
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