🚀 Welcome to MDriven Learn –  MDriven is now on Discord!  Don’t miss the latest Release Notes.
Parsed/ViewModel actions
This page was created by PageReplicator on 2025-09-01. Last edited by PageReplicator on 2025-09-01.

Template:Notice




ViewModelActions have similar functionality as <a href="/Documentation:Class_actions" title="Documentation:Class actions" data-bs-title="Documentation:Class_actions">Class actions</a>, but they act on ONE view rather than on the objects of a class - so you will find no "self" here. Instead, give what it is currently focused on in the view as variables starting with vCurrent_ . When the user has selected multiple items in grids, you will find them in vSelected_ collections for the corresponding View Model nesting.

Read more on <a href="/Documentation:VCurrent_and_vSelected" title="Documentation:VCurrent and vSelected" data-bs-title="Documentation:VCurrent_and_vSelected">vCurrent and vSelected</a>.