Yozons Support on Gmail
unread,Nov 24, 2009, 2:47:38 PM11/24/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-we...@googlegroups.com
Thanks much. The DialogBox works pretty well for me, but was hoping the title bar would hold the close button like a regular window, but it's fine to have it at just below.
Because these dialogs need to outlive the panel that swaps in and creates them, I'm using an EventBus to open them in my "main app panel" that comes up after login, and it keeps track of all the Dialogs that are open so if the user comes back and selects the same "row" from the PagingScrollTable, I just center the existing dialog, else I launch a new Dialog.
I've not yet figured out whether I should have my own subclassed DialogBox that does some of the common stuff yet, but suspect it will make sense as I build more than the one I'm working now.
The only downside I've seen so far is that when I click to sort the columns on the PagingScrollTable, the existing selected row is fired again so my PagingScrollTable tells me it's selected again, so I do the Dialog open again (which now just causes it to be centered again), which is odd, but not a showstopper.
And that bug could be resolved if there were a way to tell the PagingScrollTable to unselect rows since the header column sort would not fire if it were not still selected. I'd love to unselect it once the action related to being selected takes place, just haven't figured out how yet....
Thanks again!