public class HeatRateTable extends FlexTable
        implements EntryPoint{

        private static final int REFRESH_INTERVAL = 5000;
        private String[] data = new String[] {
                "Thelonious Monk",
                "Misterioso",
        };

        public HeatRateTable(){
            super();
            this.sinkEvents(Event.ONCLICK);
                        this.setText(row, column, xxxxx)
                        ....
                        this.setWidget(r, c, Image);
                        .....
        }

        public void onBrowserEvent(Event event) {
          super.onBrowserEvent(event);
          Element td = getEventTargetCell(event);
                if (td == null) {
                      return;
                }
          Element tr = DOM.getParent(td);
          Element body = DOM.getParent(tr);
          int row = DOM.getChildIndex(body, tr);
          int column = DOM.getChildIndex(tr, td);


           case Event.ONCLICK: {
                          //implementing something here
            }
            break;

        }

        public void onModuleLoad() {
                RootPanel.get("heatRateList").add(new HeatRateTable());
        }

        protected void refreshPropertyList() {
                // TODO Auto-generated method stub
               Image UpdateImage4 = new Image("./images/redm.png");
                // ------> Now how do i update the rows of my flextable here
(or) insert a new widget in the row, it is inside the panel
        }
}

Is it possible?

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to