EasyUI Forum
May 17, 2024, 05:06:46 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: How to add placeholder on datagrid textbox editor  (Read 9900 times)
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« on: June 21, 2016, 08:13:50 PM »

Already tried with
Code:
<th data-options="field:'ITEM_REMARKS',editor:'textbox',prompt:'Maximum 30 chars'" width="250px">Remarks</th>
and
Code:
<th data-options="field:'ITEM_REMARKS',editor:'textbox',placeholder:'Maximum 30 chars'" width="250px">Remarks</th>

But none of them works

Thank you in advance
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« Reply #1 on: June 22, 2016, 12:14:32 AM »

prompt

editor:{
    type:'textbox',
    options:{
        required:true,
        prompt:'enter value'
    }
}
Logged
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« Reply #2 on: June 22, 2016, 12:18:59 AM »

look this
Logged
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« Reply #3 on: June 22, 2016, 12:19:59 AM »

倒霉孩子,这你都不会,难道不看api么?
Logged
aswzen
Sr. Member
****
Posts: 287


Indonesian

aswzen
View Profile WWW Email
« Reply #4 on: June 22, 2016, 01:48:18 AM »

wow thank you chinese man Smiley

its worked very well
Logged

Regards,
Sigit

- Indonesian jEasyUI Facebook page : https://www.facebook.com/groups/jeasyuiid/
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!