Ribbon selectButton data update items silently fails


#1

Hi,

In your latest dhtmlxSuite v.7.2.3 Professional, there is a regression in the update method of the DataCollection api. If you are updating a selectButton in a ribbon and wanting to update the items, it will silently fail. Below is a simplistic example.

Cheers,

Alex

// currently, dhtmlx does not update the items, only the value
ribbon.data.update(“font-face”,{
value: “Arial”,
items: [
{ type: “menuItem” , id: “Arial”, value: “Arial”, css: “somecss” },
{ type: “menuItem” , id: “Times”, value: “Times”, css: “somecss” }
]
}, true);