EasyUI Forum
October 03, 2025, 12:32:03 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: Timespinner inline editing in datagrid [solved]  (Read 11662 times)
devnull
Sr. Member
****
Posts: 431


View Profile
« on: May 10, 2013, 04:17:28 AM »

What is the syntax for defining a timespinner inline editor in a datagrid ?

Code:
{field:'START_TIME',title:'Start Time',width:30, editor:{type:'timespinner',options:{min:'08:30',max:'18:00'}}}
{/code]

This does not appear to work.

Thanks

« Last Edit: May 12, 2013, 11:20:14 PM by devnull » Logged

-- Licensed User --
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #1 on: May 10, 2013, 08:31:33 AM »

You will have to extend the timespinner editor before using it in datagrid. Please refer to http://www.jeasyui.com/documentation/datagrid.php#editor.
Logged
devnull
Sr. Member
****
Posts: 431


View Profile
« Reply #2 on: May 12, 2013, 11:19:39 PM »

Thanks, I had assumed that all easyui controls would be available to the datagrid by default.
Logged

-- Licensed User --
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!