Standard formatting Vs Custom formatting in UltragridCells

后端 未结 1 1277
一个人的身影
一个人的身影 2021-01-25 16:49

I\'m trying to format a Ultragridcell using the following code and it works fine.

//Code

            DefaultEditorOwnerSettings editorSettin         


        
相关标签:
1条回答
  • 2021-01-25 17:24

    It seems that you think that MaskInput property supports all the formatting functionality provided by Composite Formatting, but I don't think that it is true.
    The formatting available for MaskInput as far as I know are limited to only these provided by the UltraGrid Designer.

    Using the UltraGrid Designer (right click on the UltraGrid control, select UltraGrid Designer) click on the Data Schema and define a data schema in which one of the columns will be a DateTime column. Then go to the Bands and Column Settings node, select columns and then the column defined as DateTime. In the properties window you can find the MaskInput property and its allowed values. You could try to experiment with the predefined masks and check if there is one that fits your requirements.

    As I have said this is what I suppose to be true. I don't know if there is another advanced mode to set these properties at design time or at Runtime. If, someone from Infragistics, wants to add something to this answer would be welcome

    0 讨论(0)
提交回复
热议问题