Results 1 to 3 of 3

Thread: disabling or hiding some buttons

  1. #1
    Sencha User
    Join Date
    May 2013
    Posts
    36
    Vote Rating
    0
      0  

    Default disabling or hiding some buttons

    Hi, i have a requirement in which some Authority levels plays a role..so for that i have to hide some buttons for some authorities and i have to show some buttons to them.for example let say 'A' can 'add' and 'delete' data but cannot edit so i have to show/enable 'add new' and 'delete' buttons and hide/disable 'edit' button similarly 'B' can only edit and cannot add and delete data so i have to show only 'edit' button and hide/disable 'add new' and 'delete' buttons .i have 7 authority levels distributed for each user , and their actions (like create,edit,delete...) are stored as 'true' or 'false'..how can i show and hide for all users

  2. #2
    Sencha User
    Join Date
    Jan 2011
    Posts
    549
    Vote Rating
    54
      1  

  3. #3
    Sencha User
    Join Date
    May 2013
    Posts
    36
    Vote Rating
    0
      0  

    Default

    Quote Originally Posted by willigogs View Post
    Thanks willigogs...i got done through adding "hidden: " property for all buttons based on the status(true/false) of each authority level

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •