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
1205
Changing EditorControl of a TreeNodeCell
posted

Hi All,

I have a tree consisting of two columns.  The first column has a valuelist and uses an UltraComboEditor for each of it's cells.  The second column has no valuelist but the type of editorcontrol used for each cell changes depending on the value in column 1.

For some reason I cant get this to work correctly.  When I change the value in column1 the editorcontrol for the cell in column2 does not change straight away, if I click on the cell in column2 a few times however the editorcontrol eventually updates.

I assume that I am just not using the EditorControl property of the cell correctly.  Currently I am just setting the EditorControl of the cell to a new control each time I change the value in column1, I have also tried calling RefreshEditorControl() and RefreshEditor() on the cell but it doesn't help.  Any ideas on what may be going wrong?

Thanks in advance,
Denis

Parents Reply Children
No Data