hi,
We used UltraWind Designer to create datagrid. In the grid there is a column allow users to edit the text.
We have problem when users type too fast all the text will be disappear then it comes back. Some how the text field not display quick enough at user type input in the field.
Can you someone help me with this problem?
Thanks
John
Hi John,
I've never heard of anything like that. I type pretty fast, myself and I have never seen this behavior. WHen you type into most cells in the grid, you are really typing into an inbox TextBox control, so if there's a bug in that control, I think a lot more people would have run into it.
My guess is that there is something in your application causing this behavior. Maybe you are handling an event of the grid and your code in the event handler is causing it.
Try commenting out the code in any grid events you might be handling and see if you can narrow it down that way.
It happens only for column, I set property CellMultiLine = True. When I change it to false the text does not disappear when I type pretty fast. However I can see the delay to display my input in the textbox.
I have quite a lot of columns for this grid. I am not sure this cause the problem.
I try that still have problem.
Another problem I run into with grid when I drag grid to left or right, it mess up the display. Text in column get mess up. But If I use left arrow or right arrow to move grid to left or right, it is ok
johnho said:I try that still have problem.
I don't know of any other reason that would explain the behavior you describe. Can you post a small sample project demonstrating the issue?
johnho said:Another problem I run into with grid when I drag grid to left or right, it mess up the display. Text in column get mess up. But If I use left arrow or right arrow to move grid to left or right, it is ok
I don't understand what you mean by this. What do you mean "drag the grid to left or right?" There is nothing in the WinGrid that would allow you to drag the control.
And what exactly do you mean by "column get messed up"?
Here is example of the edit column I have problem.
Below are property I set for this column
Infragistics.Win.UltraWinGrid.
ultraGridColumn13.AutoEdit =
false;
ultraGridColumn13.AutoSizeEdit = Infragistics.Win.
DefaultableBoolean.False;
ultraGridColumn13.ButtonDisplayStyle = Infragistics.Win.UltraWinGrid.
ButtonDisplayStyle.Always;
ultraGridColumn13.CellClickAction = Infragistics.Win.UltraWinGrid.CellClickAction.Edit;
ultraGridColumn13.CellDisplayStyle = Infragistics.Win.UltraWinGrid.
CellDisplayStyle.PlainText;
ultraGridColumn13.CellMultiLine = Infragistics.Win.
DefaultableBoolean.True;
ultraGridColumn13.CharacterCasing = System.Windows.Forms.
CharacterCasing.Upper;
ultraGridColumn13.Header.Caption =
"Catalog Desc.";
ultraGridColumn13.Header.VisiblePosition = 24;
ultraGridColumn13.MaxLength = 255;
ultraGridColumn13.SpellChecker =
this.ultraSpellChecker1;
I don't see anything here which attaches a dropdown list (ValueList) to this column. But if you are using a dropdown list on the column, then you should not also set CellMultiLine to true.
Mike,
How do set spell check when it leaves edit Cell.
Example I have description columns on grid that allows users to edit. But I don't want spell check take place while they type. I want spell check trigger when it leaves the cell. I got it worked before but forgot.