unvell / ReoGrid

Fast and powerful .NET spreadsheet component, support data format, freeze, outline, formula calculation, chart, script execution and etc. Compatible with Excel 2007 (.xlsx) format and working on .NET 3.5 (or client profile), WPF and Android platform.
https://reogrid.net
MIT License
1.32k stars 390 forks source link

easy way to put a mask for input in cell #525

Open vks2 opened 3 months ago

vks2 commented 3 months ago

Hi jingwood, is there a easy method to let the user fill a cell only with given subset of chars , with a mask, wildcard or smth alike? I need also to show it to user that not any value is accepted (example: phone +?-???-???-?????) thanks much for your work & support best

jingwood commented 3 months ago

Thanks for your feedback!

Unfortunately, ReoGrid currently does not support that feature. However, you can implement it using the worksheet events CellEditCharInputted and CellEditTextChanging if you wish.