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
400
MaskInput for UltraGridCell
posted

Hi,

 Is it possibe to have a MaskInput (like for a column) but by cell? It is not the same number of decimal to display foreach row column[Value].

example for input or output:

private void _keopsGridManualData_InitializeRow(object sender, InitializeRowEventArgs e)

{

e.Row.Cells[
"Value"].MaskInput????

}

 Thanks!

Gabriel

Parents
No Data
Reply
  • 469350
    Offline posted

    Hi Gabriel,

    There's no MaskInput property on the cell. But it can be done.

    What you do is set column.UseEditorMaskInfo to true. Then you create an editor control such as the UltraMaskedEditor and set up the masking properties you want on it. Then you can assign an EditorControl to each cell inside InitializeRow, each with the mask settings you need. 

    You should probably try to only create a control for each mask, rather than one for every cell, of course. 

     

Children
No Data