i'm trying remove row table , have below row move 1 row. not succeeding @ all. i've tried iterating through cells (with table.getcells()
) , updating them way in various ways, doesn't seem work way intend to. there way this?
a cleaner solution next:
public void removetablerow(int row) { snapshotarray<actor> children = table.getchildren(); children.ordered = false; (int = row*column_number; < children.size - column_number; i++) { children.swap(i, + column_number); } // remove last row for(int = 0 ; < column_number; i++) { table.removeactor(children.get(children.size - 1)); } }