PDA

View Full Version : [CLOSED] Good thousand separators in NumberField



centerinform
Nov 11, 2014, 8:37 AM
All what I found thousand separators in NumberField have following bugs:
1) work only when text is not in edit (use focus+blur events);
2) it didn't know about dirty flag when creating (X.NumberFieldFor(x => x.Number)), while editing and after edit

Is there example of good working thousand separator plugin (script, handlers, ...) for NumberField?
If there is no good, can you provide example of best implemented thousand separator for Ext.Net MVC?

Thanks!

Daniil
Nov 11, 2014, 4:05 PM
Hi @centerinform,


2) it didn't know about dirty flag when creating (X.NumberFieldFor(x => x.Number)), while editing and after edit

Please clarify. I am not sure what you mean. Ideally, with a test case to reproduce.


Is there example of good working thousand separator plugin (script, handlers, ...) for NumberField?

I have not seen. I have seen some attempts with a TextField. As for NumberFields, it might be impossible or too hard and lead to the big rewriting of the entire NumberField JavaScript class.


If there is no good, can you provide example of best implemented thousand separator for Ext.Net MVC?

I am afraid we don't have such an example.