On 08/18/2010 06:17 AM, poe wrote: > Hi everyone, > > i've read the article about the mvp architecture and testet it in my > application. I noticed that, when i set a ColumnDefintion that returns > a CheckBox as the Widget it didn't get noticed about the cell click. > > My Case: > > I have a simple Table that contains a checkBox in the first column and > some labels in the following columns. The SelectionModel Object gets > the selected object by clicking on the first column but the checkbox > in that column will not be notified about the click event. Means it > didn't get checked.
This doesn't make much sense. However, reading between the lines, it may be that you want to fire a custom event whose handler calls checkBox.setValue(true); How you determine which checkBox handler responds to the event is currently an open question. Also open is the question: "Which widget calls fire()?" The answer depends on how your UI detects the "... clicking on the first column..." action. Is that widget: o Any cell in the column? o The column header? o A "select all in this column" widget? > I don't know of any way to solve that problem without giving the view > more information about the datamodel than it should have. > > Thanks for any help, > greets > Poe > -- 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.
