EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 11, 2024, 04:05:45 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
Capitalise validatebox in datagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Capitalise validatebox in datagrid (Read 2675 times)
vid
Newbie
Posts: 2
Capitalise validatebox in datagrid
«
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
Logged
jarry
Administrator
Hero Member
Posts: 2264
Re: Capitalise validatebox in datagrid
«
Reply #1 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
Logged
vid
Newbie
Posts: 2
Re: Capitalise validatebox in datagrid
«
Reply #2 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.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...