Попробуйте вставить список выбора в каждую ячейку группы.Он отображается как элемент выбора, но не расширяется щелчком, как это делает обычный выбор.На щелчок не реагирует.
var options = {
groupOrder: function (a, b) {
return a.value - b.value;
},
groupTemplate: function(group) {
var container = document.createElement('div');
var select = document.createElement('select');
groups.forEach(function (i) {
var option = document.createElement('option');
option.innerHTML = i.content + ' ';
container.insertAdjacentElement('afterBegin',select);
select.insertAdjacentElement('afterBegin',option);
});
return container;
},
orientation: 'both',
editable: {
add: true, // add new items by double tapping
updateTime: true, // drag items horizontally
updateGroup: true, // drag items from one group to another
remove: true, // delete an item by tapping the delete button top right
overrideItems: true // allow these options to override item.editable
},
groupEditable: true,
start: '2019-02-01',
end: '2019-03-01',
};
Ожидаемый результат: выберите развернутый щелчком мыши, и я могу выбрать какой-то вариант.Фактический результат: ничего не происходит при клике.