show delete button in koolcontrols datagrid based on user


/ Published in: PHP
Save to your folder(s)



Copy this code and paste it in your HTML
  1. if ($_SESSION['username']=="me") {
  2. $column->ShowDeleteButton = true;
  3. }else {
  4. $column->ShowDeleteButton = false;
  5. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.