Announcement

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

    RadioGroupItem

    Hi,
    I'm new to SmartGWT. Previously I was using GWT-Ext in my project. But now I have switched it to SmartGWT. I'm using SmartGWT-2.2 with Mozilla FF-3.6.9.
    When I was using EXT I used to override onRendered() method for many of the Widgets. But I guess there's nothing like this in SmartGWT. Can anyone tell me how can I catch the event when my Widget(specially, RadioGroupItem) is added to the DOM?

    Thanks in advance.

    #2
    FormItem's like RadioGroupItem get added to a DynamicForm in order to be drawn. You can either register your draw event handler by calling dynamigForm.addDrawHandler(..) or override onDraw() to get notified when the form is rendered.

    Sanjiv

    Comment


      #3
      Thanks for your reply. But one more question. Is there any handler or method which can notify when a component is enabled or disabled?

      Originally posted by sjivan
      FormItem's like RadioGroupItem get added to a DynamicForm in order to be drawn. You can either register your draw event handler by calling dynamigForm.addDrawHandler(..) or override onDraw() to get notified when the form is rendered.

      Sanjiv

      Comment


        #4
        Hey it has been really a long time. No one answers this question. No one else is facing the same problem? I need a Handler which can fire & handle event of Enable-Disable of either a Dynamic form OR of a FormItem. I really appreciate it if I find a work-around.

        Comment

        Working...
        X