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.
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.
There is no reason why typing fast should have any effect. Like I said, I'm a very fast typist and the grid has no problem whatsoever keeping up with me.
If there is some kind of delay, then my best guess is that something in your code is causing it.
What events of the grid are you handling? Try commenting them out temporarily to see if that solves the issue.
Another thing you might try is - set the Visual Studio IDE to break on all run-time Exceptions. Perhaps there are exceptions occurring as you type that are being caught and handled and these are what is causing the delay.
There is no dropdown list bind to the grid. Grid just bind to datasource. In the grid I have few edit columns. All it does it allow users to select a row to edit some column and click submit.
The problem occurs when users type fast to edit column, there will be a delay for the text to display. This becomes very big problem to our users. We may need to drop this tool and use something else.
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.
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;