Sigma Php Ajax framework, Ajax Components, GUI Builder
February 11, 2012, 11:51:37 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: How to disable a single button in a buttonview?  (Read 878 times)
ludwigl
Sr. Member
****
Posts: 47


View Profile
« on: August 05, 2009, 04:01:33 AM »

Hello,

I am trying to disable a button in a button view. The button should be activated, whenever another activity is finished succesfully.
The items are defined in the following way:

mybuttonview.setItems([{"id":"a", "caption":"A", "disabled":false}, {"id":"b", "caption":"B", "disabled":true}, {"id":"c", "caption":"C", "disabled":true}])

The buttons b and c are displayed as disabled, but it is still possible to click the button and switch to the page.
How can this be avoided?

Thanks in advance,

Ludwig
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #1 on: August 05, 2009, 11:27:48 PM »

It's a bug and it's fixed now, you can update your code from snv:http://linb.googlecode.com/svn/trunk/jsLinb2.2
Logged
ludwigl
Sr. Member
****
Posts: 47


View Profile
« Reply #2 on: August 19, 2009, 02:48:35 AM »

Hello,

I downloaded and installed jslinb2.2, but the problem still exists.

With best regards,

Ludwig
Logged
linb
Administrator
Hero Member
*****
Posts: 433


View Profile
« Reply #3 on: August 19, 2009, 05:35:26 PM »

I can't  reproduce it.
Logged
ludwigl
Sr. Member
****
Posts: 47


View Profile
« Reply #4 on: August 21, 2009, 12:52:50 AM »

Hello,

I double checked and now I can also not reproduce the problem.

It works fine!

Thanks for your patience.

Ludwig
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!