EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
May 09, 2024, 02:30:15 PM
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
>
Add datebox to edatagrid
Pages: [
1
]
« previous
next »
Print
Author
Topic: Add datebox to edatagrid (Read 11135 times)
markalves
Newbie
Posts: 15
Add datebox to edatagrid
«
on:
June 21, 2013, 02:56:05 PM »
Hi everyone!!!
I'm tryiing to add a datebox in a column of a edatagrid without success:
This is the code:
<th field="dal" width="15" editor="{type:'text',class:'easyui-datebox'}">Dalla Data</th>
What is wrong ?
Bye
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Add datebox to edatagrid
«
Reply #1 on:
June 23, 2013, 05:51:01 AM »
Please try this.
Code:
<th field="dal" width="15" editor="datebox">Dalla Data</th>
Logged
markalves
Newbie
Posts: 15
Re: Add datebox to edatagrid
«
Reply #2 on:
June 24, 2013, 04:36:19 AM »
Hi stworthy, thank you for the help, but it does not work, putting editor="datebox" when I try to edit the field other columns become white and not datebox is displayed.
Logged
stworthy
Administrator
Hero Member
Posts: 3581
Re: Add datebox to edatagrid
«
Reply #3 on:
June 24, 2013, 05:41:42 AM »
Please refer to this example
http://jsfiddle.net/eFUHn/
.
Logged
markalves
Newbie
Posts: 15
Re: Add datebox to edatagrid
«
Reply #4 on:
June 24, 2013, 06:27:58 AM »
Ok perfect
, but if I would like to use this date format: dd/mm/yyyy ?
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...