Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
フレックステーブルがあり、そのテーブルには、各行にその行を削除するためのボタンがある列があります。その行のインデックスを取得して削除できるようにするにはどうすればよいですか。インデックスを取得するだけです。
A solution: FlexTable myTable = new FlexTable(); myTable.addClickHandler(new ClickHandler() { public void onClick(ClickEvent event) { Cell cell = myTable.getCellForEvent(event); int receiverRowIndex = cell.getRowIndex(); } });