Hello Everyone,
Could you please provide some tips on how to implement Collapsible Rows in 
CellTable ?

for example, clicking on a Row, result in Row to be expanded, and display 
some custom widget in it.

so far, I was able to put a custom widget (label, button, text box) within 
the cell,
this works fine. I then wanted to show/hide this widget, as user clicked on 
the cell.

my custom cell handles click event, and adds/removes css style 
(display:none), as a result I can show/hide my custom widget,
but the problem is, since I am handling click event, when the user wants to 
do
something meaningful with the widget inside the row, the row is closed,
(for example entering something inside the textbox, causes the row to close 
(hide/collapse))
I used event.preventDefault(), to stop the click event from firing once the 
row is expanded (preventing it from hiding, so that user can enter text into 
textbox),
but cannot reverse it (remove it so that it can be closed).

 anyways I tried many many unconventional solutions, including putting a 
basic Tree and StackPanel inside a Custom Cell !
none of them worked  : (

I know that I am not doing things the right way,
do you have any tips on how to implement this feature ? 
Expandable/Collapsible Rows inside a CellTable ?

do you think this feature will be added in later releases of GWT ?

Thank You

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

Reply via email to