EasyUI Forum
May 10, 2024, 12:36:49 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Capitalise validatebox in datagrid  (Read 2674 times)
vid
Newbie
*
Posts: 2


View Profile
« 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: 2262


View Profile Email
« 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


View Profile
« 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  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!