Home > Forum > Rules, JS, SQL > Item list custom button

Item list custom button
0

MVP

Hi Maria,

if I understand this correctly, then the action should do something with the row.
As you can't pass information to the menu action you would need to set a technical field in the the current row and then invoke the menu action.
The menu action could identify the row by the technical field and reset it so it can be used again.

The code in the first screenshot is used in a data row column of the item list. This will allow you to output HTML.

Best regards,
Daniel

In reply to: Martin Meze (Freelancer)

Hi Maria,

Please check the attached images and see if that helps. Come back with additional questions if you will have any.

The javascript functions can be inserted in a HTML field, enclosed in the

Best regards,
Martin

Hi. Thank you for help!

I have one more question regarding of execution of multiple functions.

If I have the following code, which performs two updates to some columns, then executes InvokeMenuAction (which involves some REST APIs or SQL procedures), and finally I would like to delete that row using the DeleteRow function... but the row doesn't get deleted...
What exactly happens when you press the button: it runs the JavaScript functions, it seems like it would delete the row, but until the actions from the menu action are executed, the row reappears.
Do you know why it does that? Is it possible to delete the row at the end?
The method I've been thinking of is to perform the action of changing item list values in the menu action as well.



select
'




'

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.