WagnerAlexandre Posted January 17, 2015 Share Posted January 17, 2015 Hello friends, how can I change the cursor to an item in a treeview? Quote Link to comment Share on other sites More sharing options...
ZigZig Posted January 17, 2015 Share Posted January 17, 2015 Use HTML/CSS syntax, like this: MyUniTreeNode.Text:='<span style="cursor:pointer">' + MyValue + '</span>'; Note that cursor:hand gets the same result as cursor:pointer, but won't work in Firefox... (source: http://forums.unigui.com/index.php?/topic/2227-how-to-make-the-cursor-in-a-column-in-an-unidbgrid-become-the-shape-of-a-hand/?hl=cursor) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted January 17, 2015 Share Posted January 17, 2015 Hi, Or, try: in UniServerModule add CustomCSS: .x-grid-cell-inner-treecolumn { cursor: pointer; cursor: hand; } Best regards. Quote Link to comment Share on other sites More sharing options...
WagnerAlexandre Posted January 17, 2015 Author Share Posted January 17, 2015 Thanks, worked 100%, even in firefox Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.