Hello all,
i'm trying to remove the rows from a dynamic flex table, but without
success. This is my code, i have 5 columns and a variable number of
rows. The idea is to remove all the rows and put new rows in it.
Here is what i'm doing
for (int i = 0; i < __this.getRowCount(); i++) {
__this.removeRow(i);
__this.getFlexCellFormatter().setRowSpan(0, 0, i);
__this.getFlexCellFormatter().setRowSpan(0, 1, i);
__this.getFlexCellFormatter().setRowSpan(0, 2, i);
__this.getFlexCellFormatter().setRowSpan(0, 3, i);
__this.getFlexCellFormatter().setRowSpan(0, 4, i);
}
I think my problem is in the HTML manipulation, if somebody could help
i would be very gratefull
Thanks in advance
Best Regards
João Lopes
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
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=.