This topic is locked

hide or evaluate records checked (checkbox in list page) before edit but allow print_selected

3/8/2012 3:55:14 AM
ASPRunnerPro General questions
M
mcappel author

Dear all.
I can hide/show the edit/inline_edit link for each row on the list page base on the record Orderstatus using

if ($data["OrderStatus"]>1)

{

$record["edit_link"] = false;

$record["inlineedit_link"] = false;

}


now I have the problem that checkbox in list page should be available when I need to allow print_selected button in order to print all the checked records of the list page but I dont want to permit editing/inline_edit or deleting records with with OrderStatus>1 and want to hide the Edit_selected/Delete_selected buttons if the selected records have OrderStatus>1. any suggestions to make it easy and clean??
Thanks

MAc