SmartClient Version: SNAPSHOT_v13.1d_2024-07-09/AllModules Development Only (built 2024-07-09)
Hello, I just noticed that if I configure a custom inline control for a SelectItem like this:
when I open it, the ToolStripButton is correctly at width 100%:
but after clicking "Check All", it shrinks like this:
is it a bug, or am I missing something?
Hello, I just noticed that if I configure a custom inline control for a SelectItem like this:
Code:
isc.DynamicForm.create({ ID: "testForm", width: 400, fields: [ { name: "multipleSelect", title: "Select items", editorType: "SelectItem", optionDataSource: "supplyItem", optionCriteria: {units:"Ream"}, displayField: "itemName", valueField: "itemID", multiple: true, pickListProperties: { gridComponents: [ isc.ToolStrip.create({ height:30,autoDraw:false, width: "100%", members: [ isc.ToolStripButton.create({ width:"100%", icon: "[SKIN]/actions/approve.png", title: "Check All", click:function() { var item = testForm.getField("multipleSelect"), fullData = item.pickList.data, cache = fullData.localData, values = []; for (var i = 0; i < cache.length; i++) { values[i] = cache[i]["itemID"]; } item.setValue(values); } }) ] }), "body" ] } } ] });
but after clicking "Check All", it shrinks like this:
is it a bug, or am I missing something?
Comment