[progress Communities] [progress Openedge Abl] Forum Post: Re: [4.0.4.0] - Disable The New...

  • Thread starter Thread starter Vimalkumar Selvaraj
  • Start date Start date
Status
Not open for further replies.
V

Vimalkumar Selvaraj

Guest
Hi , You can't prevent New record create button click action even you add "k-state-disabled" (Usually "k-state-disabled" class will be added to button by Kendo if it is disabled) class through program, because we always hide this button from user if they don't have permission ( we don't disable them) where as some other buttons like "delete or more actions" disabled when no record is selected, so we always prevent click actions if those buttons have "k-state-disabled" css class . I would suggest you to hide New record create button from toolbar based on your condition. I wrote a code snippet to hide/show them conditionally. Hope this helps, Vimal.

Continue reading...
 
Status
Not open for further replies.
Back
Top