|
Title: Capitalise validatebox in datagrid Post by: vid on May 19, 2019, 04:54:47 AM Hi Guys
I want to configure a validatebox in a datagrid so that all entries are capitalised. How does one do that? The table column is defined using: <th field="entity_code" width="50" editor="{type:'validatebox',options:{required:true}}">Code</th> What do I add for capitalisation? Many thanks Title: Re: Capitalise validatebox in datagrid Post by: jarry on May 20, 2019, 02:35:20 AM You should extend new validation rules and then apply them to your code. Please refer to https://www.jeasyui.com/documentation/validatebox.php
Title: Re: Capitalise validatebox in datagrid Post by: vid on May 20, 2019, 05:35:12 AM Thanks jarry but this would display an error if lowercase letters were entered. I would like lowercase to be automatically capitaised.
|