The Syncfusion native Blazor components library offers 70+ UI and Data Viz web controls that are responsive and lightweight for building modern web apps.
.NET PDF framework is a high-performance and comprehensive library used to create, read, merge, split, secure, edit, view, and review PDF files in C#/VB.NET.
We have a grid where some columns can have multi-byte text entered and others where we need to disable the ImeMode.
Is there a was to disable the ImeMode for an entire column?
I have tried using the CurrentCellStartEditing event, with the following code in the handler:
GridTextBoxCellRenderer cr = TheGrid.CurrentCell.Renderer as GridTextBoxCellRenderer; if (cr != null && cr.TextBox != null) { if (TheGrid.CurrentCell.ColIndex == 1) cr.TextBox.ImeMode = ImeMode.Disable; else cr.TextBox.ImeMode = ImeMode.NoControl; }
However that only gets the case where the user dbl clicks the cell. If they just activate the cell and start typing, I can't get the the textbox to set the ImeMode prior to the user entering characters.
So can the ImeMode be set for a column without having to trap events, if not how does one disable ImeMode prior to any characters being typed?