Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
Show editor buttons only when hot tracked or if the cell is in edit mode?
posted

Hi All,
I have multi column wintree, one of the columns in WinTree is having an embeded button.  To achieve this the below code is used,

EditorButtonBase editorButton = new EditorButton("Button");
EditorWithText editorText = new EditorWithText();
editorText.ButtonsRight.Add(editorButton);
nodeColumn.Editor = editorText;

This successfully displays the button in the column, however the button is displayed always and this gives the tree a messy feel (more so if there are 2 or more columns having buttons in them).    I have set ShowEditorButtons to ActiveAndHotTracked, but this dosent solve the problem. 
Please suggest how to display the button only when HotTracked or if a cell is active, any help on this will be greatly appreciated.

/spm