This topic is locked

custom icon to remove row in list page

2/15/2016 12:02:59 PM
PHPRunner General questions
J
jaffleck author

I would like to provide another icon on the list page (next to the edit and view icons) that would permit the user to remove the row from the display (not delete the record) so they can "wittle down" the list to the exact records they want to review. I think this might be possible by modifying the $xt->xt_vars array on the fly? Or is that just asking for trouble? If that approach is possible, how do I determine the row selected?
Thanks - love the product...

Sergey Kornilov admin 2/15/2016

This might be possible in general though I'm not sure how to approach this. I cannot think of solution viable from usability point of view. For instance, user hides one of records by accident there would be no way to unhide that record except for refreshing the page and losing the selection.
I'm not 100% sure what is the exact problem you trying to solve but there must be a better and more usable solution.

J
jaffleck author 2/15/2016



This might be possible in general though I'm not sure how to approach this. I cannot think of solution viable from usability point of view. For instance, user hides one of records by accident there would be no way to unhide that record except for refreshing the page and losing the selection.
I'm not 100% sure what is the exact problem you trying to solve but there must be a better and more usable solution.


That's exactly the behavior I'm looking for. I may have an alternative way of accomplishing the same thing. I'll get back to you if it doesn't work.