Tuesday, August 28, 2012

Re: How to insert a new row in to a DataGrid

Hi,

Is anyone able to assist with my query please?

Thanks.

On Thursday, August 23, 2012 8:13:10 PM UTC+1, Claire wrote:
Hi,

I have a button assigned to the onClick method. Within this method I add a new element to the list, reset the data grid row count by calling setRowCount(list.size(), true) and reset the grid data by calling setRowData(0, list).

In debug mode I can see the list size increasing however, the data grid does not seem to refresh when I run the app. I have tried removing columns and that works.

Can someone please advise me where I am going wrong?

Many Thanks.

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

No comments:

Post a Comment