Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Visible buttons in toolbar

$
0
0
Hi,
we want to create a toolbar in a form with multiple buttons. By defautl there should be some shown and some hidden. It seems like there is a bug, because even if we set the attribute, it is shown.
In the example below you can see this behavior.
We currently using the latest build of the 8.3 version.

best regards

Code:

  isc.DynamicForm.create(
      { 
        "fields":
        [
        {
          "name":"toolbarItem",
          "type":"toolbar",
          "buttons":
          [
          {
            "name":"abortButton",
            "title":"abort",
            "type":"button",
            "accessKey":"a"
          },
          {
            "name":"closeButton",
            "title":"Ok",
            "type":"button",
            "visible":false
          }
          ]
        }
        ],
        "values":
        {
        }
        })


Viewing all articles
Browse latest Browse all 4756

Trending Articles