Thursday, August 30, 2012

Re: Clear Cell table data

I create an empty ArrayList of my data and assign it to my CellTable:

    data = new ArrayList<TextHexRow>();
    hexArea.setRowCount(data.size(), true);
    hexArea.setRowData(0, data);

There may well be better ways (there is so much to understand about cell views).

On Tuesday, August 28, 2012 10:28:26 AM UTC-4, lucky wrote:
Can any one help me on this?

On Monday, 11 June 2012 21:13:45 UTC+5:30, lucky wrote:
How to clear celltable data when i click on the Button 'Clear'?

i tried with cellTable.setRowCount(0);
private void clearTable() {
        if (dataProvider.getDataDisplays() != null && dataProvider.getDataDisplays().isEmpty() == false) {

        cellTable.setVisibleRangeAndClearData(resultListGrid.getVisibleRange(), true);

but this is not working for me.

Could you please tell me did i do any thing wrong ?
or let me know the best way to clear the cellTable data

Thanks in advance.

You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment