HI Jim,

Thanks for you reply.

I am not sure, whether I explained my problem better here..

I want to have a row selection in a Grid.

I was wondering, where did you get "getCellForEvent" in a Grid.

Also the link you had posted is also having something about
Dreamsource. I am not sure what that is and how that would help me

Thanks anyway
Suren

On Jun 18, 1:12 pm, Jim <[email protected]> wrote:
> Here is source code I cited from GWT mail example. You can find this
> example fromhttp://www.gwtorm.com/gwtMail.jspthat include RPC-
> database layer code.
>
> public class MailList extends Composite implements ClickHandler {
>
>   public MailList() {
>     table.addClickHandler(this);
>   }
>
>   public void onClick(ClickEvent event) {
>       // Select the row that was clicked (-1 to account for header
> row).
>       Cell cell = table.getCellForEvent(event);
>       if (cell != null) {
>         int row = cell.getRowIndex();
>       }
>     }
>
> }
>
> Jimhttp://www.gwtorm.com- GWT 
> ORMhttp://code.google.com/p/dreamsource-orm/downloads/list
>
> On Jun 18, 12:04 am, Suren <[email protected]> wrote:
>
> > Hi All,
>
> > I am using a Grid, in which I want to implement row Selection style.
>
> > Currently, I am using rowformatter to apply a style. But thats not
> > having the expeceted behavior.
>
> > I want to select that entire row, when user clicks on any cell in a
> > Grid. Row selection should remain there, even if user clicks or double
> > clicks that cell.
>
> > Any help would be appreciated
>
> > Thanks
> > Suren
--~--~---------~--~----~------------~-------~--~----~
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