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
295
UltraTextEditor in ultragird cell - make text in cell not editable and double click to display ultratext editor
posted

Step 1) i have UltraTextEditor  control. on that  i added UltraExplorerTree like below-

  UltraTextEditor.ButtonsRight.Add(new DropDownEditorButton("FolderTree"));
  ((DropDownEditorButton)UltraPlantArea.ButtonsRight["FolderTree"]).Control = UltraExplorerTree;

step 2) Now on grid column i assigned grid column Editorcontrol property  to UltraplantArea.

grid.DisplayLayout.Bands[0].Columns["col1"].EditorControl = ultraTextEditor;

   grid.DisplayLayout.Bands[0].Columns["Col1"].ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.ButtonDisplayStyle.Always;
   //grid.DisplayLayout.Bands[0].Columns["Co1"].CellActivation = Activation.NoEdit;
   grid.DisplayLayout.Bands[0].Columns["Col1"].Style = Infragistics.Win.UltraWinGrid.ColumnStyle.DropDownList;

PlatArea is displyed after click on dropdownlist , but i m facing 2 problem-

1)I ned to double click on dropdown list after that only i can c utratextEditor data

2) Cell is Editble. I want non editable.

For that i tried to add key down event of ultraPlan but it never get fired.

Pls suggest any other solution.

Thanks

Parents Reply Children