Custom Javascript Formatter in Binding Dialog
Posted: Fri Oct 22, 2021 2:37 pm
I have a subfile being used for data entry. After entry, when displaying the data, I would like to use custom formats to display the numeric data. Record 1 might have 2 decimal places, record 2 none, record 3, 3 decimals etc. Each column would represent a day of the week and be bound to a Numeric 11,3 field.
I see that you can provide a custom javascript formatter in the binding dialog, but where do you put the javascipt? The documentation really doesn't go into much detail. Is it possible to provide the custom formatting for each row in the subfile?
I just want to format the data, not validate it.
I see that you can provide a custom javascript formatter in the binding dialog, but where do you put the javascipt? The documentation really doesn't go into much detail. Is it possible to provide the custom formatting for each row in the subfile?
I just want to format the data, not validate it.