Unplanned
Last Updated: 03 May 2022 11:24 by ADMIN
Created by: Matthew
Comments: 1
Category: UI for PHP
Type: Feature Request
0

Give users the ability to add custom editors in the Kendo Grid using the existing PHP library. It would be extremely helpful to create the edit control using existing functions (e.g. DateTimePicker) and pass it into the column so that users can leverage all of the existing PHP calls to set up their component and pass it into the grid column. 

For example:

$datePicker= new \Kendo\UI\DateTimePicker('edScheduleDt');
$datePicker->componentType('classic')
  ->interval(15)
  ->dateInput(true)
  ->change('myOnChange')
  ->close('myOnClose')
;

$scheduleDateCol = new \Kendo\UI\GridColumn();
$scheduleDateCol ->field('ScheduleDate')
  ->title('Scheduled')
  ->width(214)
  ->editor($datePicker)
  ->format('{0:M/d/yyyy h:mm tt}')
;