EasyUI Forum

General Category => EasyUI for jQuery => Topic started by: devnull on May 10, 2013, 04:17:28 AM



Title: Timespinner inline editing in datagrid [solved]
Post by: devnull 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



Title: Re: Timespinner inline editing in datagrid
Post by: stworthy 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.


Title: Re: Timespinner inline editing in datagrid [Solved]
Post by: devnull on May 12, 2013, 11:19:39 PM
Thanks, I had assumed that all easyui controls would be available to the datagrid by default.