How to pass datagrid selected row values in java action
Hi Team, I am trying to send selected row data in a MQ, for connecting to MQ I am using java action in mendix and in java action I need selected row data from datagrid. How can I pass the datagrid selected row value in java action ? I have tried passing input parameters as entity, but it does not gives the row values. Thanks Ashar khan
What exactly do you mean by row values? The list of objects containing each row info?
If I understand your scenario correct, I think probably you can call a microflow to receive the datagrid selected rows. This is easily done in a data grid using an action button. And the java action can be set to receive a list of objects (of the data grid entity). As you have the selected objects list available in the microflow, you can pass it to the Java action.