SmartClient Version: SNAPSHOT_v13.1d_2022-04-04/AllModules Development Only (built 2022-04-04)
SmartClient Version: v13.0p_2022-04-02/AllModules Development Only (built 2022-04-02)
SmartClient Version: v12.1p_2022-04-01/AllModules Development Only (built 2022-04-01)
Chrome on MacOS
Hello, please try this test case:
You'll see that the first time that you open the Menu, the maxHeight attribute isn't respected, but the 2nd time the height is correct
SmartClient Version: v13.0p_2022-04-02/AllModules Development Only (built 2022-04-02)
SmartClient Version: v12.1p_2022-04-01/AllModules Development Only (built 2022-04-01)
Chrome on MacOS
Hello, please try this test case:
Code:
var ds = isc.DataSource.get("countryDS"); var menuButton = isc.MenuButton.create({ ID: "menuButton", title: "File", width: 100, menu: isc.Menu.create({ ID: "menu", autoFetchData: true, showShadow: true, shadowDepth: 10, dataSource: ds, maxHeight: 300, autoFitData: null, autoFitMaxHeight: 300, titleFieldProperties: { name: "countryName", title: "Capital", formatCellValue: function (value, record, rowNum, colNum, grid) { return record.countryName; } } }) }); isc.HStack.create({ width: "100%", members: [menuButton] });
Comment