How to clear celltable data when i click on the Button 'Clear'?

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

        
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 
https://groups.google.com/d/msg/google-web-toolkit/-/ueTQ93hBh5MJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to