Re: Force render of CellBrowser cell(s)

2011-02-11 Thread sevendays
Has anyone got any ideas here? How do I re-render all ancestor nodes interactively from an event within a node? -- 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

Re: Force render of CellBrowser cell(s)

2011-02-08 Thread sevendays
I am performing aggregation calculations. So, when a child is updated, the aggregate value on its ancestors are also affected. Therefore after the calculation is complete I need to redraw all ancestors. I don't need to redraw descendants as I am only allowing the value to be updated on leaf

Re: Force render of CellBrowser cell(s)

2011-02-07 Thread sevendays
Thanks Y2i but I'm trying your approach but unfortunately it only seems to update the current 'column' in the CellBrowser, i.e. the column of the cell that triggers the valueUpdater.update(). I need to trigger a full tree refresh of the CellBrowser. I want to call render() on all cells in the

Force render of CellBrowser cell(s)

2011-02-06 Thread sevendays
I would like to be able to explicitly call the render method on a CellBrowser. The reason for this is that I am making changes to the underlying data model, and want the values to be refreshed in the display. I have a valueUpdater.update() method that is being called. My approach is to

Re: Setting first column width CSS in CellBrowser via DOM API

2011-02-03 Thread sevendays
This worked. Thank you John. -- 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

Re: First column in CellBrowser - width not working

2011-02-03 Thread sevendays
See https://groups.google.com/d/topic/google-web-toolkit/T8ObWAWDPqI/discussion for a workaround. -- 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

Setting first column width CSS in CellBrowser via DOM API

2011-02-02 Thread sevendays
I raised query around a month ago about setting the width of the first column in a CellBrowser in GWT. There is a bug that stops this from occurring - it always displays with a default width of 200px because this is the generated HTML for the wrapper divs: div style=position: absolute;

Re: First column in CellBrowser - width not working

2011-01-03 Thread sevendays
This appears to be exactly my issue. I have starred the issue - fingers crossed it gets fixed soon. I wonder if I could do a workaround/hack involving creating a dummy first column, then hiding it in CSS or something. Do you know of any way of assigning CSS classes/IDs to only the first

First column in CellBrowser - width not working

2010-12-31 Thread sevendays
I can't get the width of the first column in my CellBrowser to work properly. The first column displays too narrowly, All other columns work fine. I use the following code: browser = new CellBrowser(model, null); browser.setMinimumColumnWidth(440);

Re: HTMLPanel - Why doesn't it work with setTag(button)

2010-12-31 Thread sevendays
Perhaps because HTMLPanel allows child elements to be added, whereas a Button doesn't. The other types you are trying probably allow child elements to be added and are therefore valid. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To

Re: ValueUpdater is always null on CellBrowser

2010-12-13 Thread sevendays
Does anyone have any idea why this would be? I'm currently blocked on this and running out of ideas and will have to completely change my approach if I can't get this resolved. -- You received this message because you are subscribed to the Google Groups Google Web Toolkit group. To post to

ValueUpdater is always null on CellBrowser

2010-12-12 Thread sevendays
I have a CellBrowser that contains a bunch of AbstractEditableCell cells. This cell contains multiple input controls, of which one is a DatePicker. Here is how I pop up the DatePicker: protected void onEnterKeyDown(final Element parent, NodeDTO value, Object key, NativeEvent event,

Re: Form element values not binding in custom input cell (using AbstractInputCell)

2010-12-07 Thread sevendays
= e.cast(); String value = input.getValue(); Thanks, John LaBanca jlaba...@google.com On Sat, Dec 4, 2010 at 4:09 AM, sevendays fux...@gmail.com wrote: Thanks John, however this did not resolve my problem. I did what you suggested but I'm still having trouble seeing the 'value' set

Re: Form element values not binding in custom input cell (using AbstractInputCell)

2010-12-04 Thread sevendays
to all of the input elements in the form, updating the DTO as needed. Thanks, John LaBanca jlaba...@google.com On Fri, Dec 3, 2010 at 9:23 AM, sevendays fux...@gmail.com wrote: I have created a CellBrowser where each cell is a custom HTML component that features a few different HTML form

CellBrowser not displaying (2.1.0)

2010-12-01 Thread sevendays
I am having trouble getting a CellBrowser component to display in my existing GWT 2.1 project. I have tried both CellBrowserExample1.java and CellBrowserExample2.java, by converting the entry point classes to VerticalPanels, then adding them to my application. For example, this is a modified

Re: CellBrowser not displaying (2.1.0)

2010-12-01 Thread sevendays
at 8:34 AM, sevendays fux...@gmail.com wrote: I am having trouble getting a CellBrowser component to display in my existing GWT 2.1 project. I have tried both CellBrowserExample1.java and CellBrowserExample2.java, by converting the entry point classes to VerticalPanels, then adding them