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
1878
WinTree with both editable and non editable cells
posted

Hi,

I'm using a WinTree object with visual style set to FreeForm to display a mixture of Tree and Grid Information. The Grid contains 3 columns, one of them is an editable checkbox with underlying boolean, the other twos are strings with descriptive information that mustn't be edited. The layout of this TreeView works fine so far but where I'm having problems is to have both the editable and non editable cells.

When I set on the TreeView Override -> CellClickAction to EditCell all cells are editable although I prgrammatically set AllowCellEdit to Disabled when adding the column to the ColumnSet. I tried it with AllowCellEdit.Readonly but still this cell is editable. When I try it the other way around, set TreeView Override -> CellClickAction to Default and CellClickAction on the CheckBox's cell to AllowCellEdit.Full it's not editable.

Do I miss anything here or is it simply not possible which I could not imagine.

Thanks in advance, Wolfgang

Parents
No Data
Reply
  • 71886
    Offline posted

    Hello Wolfgang,

     

    Could you please review the sample attached to this post and see if it meets your requirements. Also I tried the properties you mentioned and they are working fine for me.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

     

    EditableCellsTree.zip
Children
No Data