I am trying to figure out how to create buttons to update a specific field in an updateable dashboard via application studio. This custom field is a sequencing field that I want to allow the buttons to move the selected row up or down the sequence (Increase or decrease the sequence number). So far, I am not having any luck on getting the buttons to work correctly. I have the updatable BAQ and dashboard ready and I know how to add the buttons to the screen but can’t get them to function the way I want.
I have not developed anything like this before so any insight would be much appreciated. I am more than happy to start from scratch on the buttons since they don’t work anyway.
it sounds like you need to do an in-place sort of the grid rows? with a “move up” “move down” button like BAQ Editor has for the display fields? and you have a numeric “sequence” column with 1,2,3 and need to adjust the sort order depending on the button pressed?
Other than that, I’ve never done this before, but im imagining the event would go something like store the current row num in TransView.currow, then a dataview-condition that iterates all rows and handles re-assigning the row sequence as applicable.