Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    SmartGWT mobile Popover button events

    hello

    i am using the SmartGWT mobile 1.0 Popover component. how can i add click handlers to the the default "cancel" and "done" buttons ? i tried overriding the cancelClick and doneClick methods but it didn't work

    thank you

    #2
    You add a general ButtonClickHandler and you will be called when any button is pressed (see Dialog superclass).

    Comment


      #3
      the only ClickHandler available in Popover is the addClickHandler inherited from Canvas class. no button click handlers available for Dialog and Popover. correct me if i am wrong

      Comment


        #4
        Sounds like you may have an old version. Grab a new build, and please remember to report your version when posting.

        Comment


          #5
          i got my build from http://smartgwt-mobile.smartclient.com/downloads/smartgwt-mobile-1.0.zip and the source code and / or latest builds are not available on http://code.google.com/p/smartgwt-mobile/
          please advise

          Comment


            #6
            Be sure to read the release notes, these contain the version. During the beta period, download again from the same URL to get the new version.

            Comment


              #7
              i am using version 0.9q same version of the latest download from
              http://smartgwt-mobile.smartclient.com/downloads/smartgwt-mobile-1.0.zip

              Comment


                #8
                i downloaded the 0.9r release and used addButtonClickHandler for Popover class but the "cancel" and "Done" buttons are NOT firing the event. moreover, is there a way to remove the top pointing arrow of the Popover?

                Comment

                Working...
                X