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%:
![Click image for larger version
Name: 2024-07-10 10.07.20.jpg
Views: 53
Size: 28.9 KB
ID: 272859](filedata/fetch?id=272859&d=1720598846)
but after clicking "Check All", it shrinks like this:
![Click image for larger version
Name: 2024-07-10 10.08.07.jpg
Views: 40
Size: 27.7 KB
ID: 272860](filedata/fetch?id=272860&d=1720598895)
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