I need to create a method that is triggered by a button. I already have the button mapped, and I just need to complete the function, but I've encountered some complications.
For example, I want to filter only the ones marked in red to show only '6', and if I press again, it should return to its original state. This data is in string format.
[PXButton(CommitChanges = true)]
[PXUIField(DisplayName = "FilterGoformz")]
protected void filterGoformz()
{
//Logic
}
Thank you for your attention