|
ludwigl
|
 |
« 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
|