Data Widgets v3.4.0 — “Clear_Selection.js” exists in files but not visible in Studio Pro
0
Hi everyone, In the release notes for Data Widgets v3.4.0, it says: “Added a JavaScript action to clear selections for Data Grid and Gallery (Clear_Selection.js).” I checked the module files, and I can confirm that Clear_Selection.js physically exists under: javascriptsource/datawidgets/actions/Clear_Selection.js However, the JavaScript action doesn’t appear in Mendix Studio Pro — it’s not listed under JavaScript Actions in the “Data Widgets” module. My question is: Is this JavaScript action meant to be used directly by developers, or is it an internal action used by the Data Grid 2 widget? If it’s intended for direct use, how can we make it visible or callable within Studio Pro? Environment: Mendix Studio Pro 10.24.x Data Widgets module 3.4.0 Thanks for any clarification or confirmation from others who’ve checked this!
asked
恭兵 掛川
1 answers
1
Hi 恭兵 掛川
The Clear_Selection.js action in Data Widgets v3.4.0 is not intended to be exposed as a developer‑callable JavaScript action in Studio Pro. It’s an internal helper action used by the Data Grid 2 and Gallery widgets to implement the new “clear selection” functionality. That’s why you see the file physically present under javascriptsource/datawidgets/actions/, but it doesn’t show up in the JavaScript Actions list in Studio Pro.