7980818283848586878889
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } return form; } }
6970717273747576777879
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } // Add button to set html { Button button = new Button("Set Cell HTML", new ClickHandler() {
8889909192939495969798
6667686970717273747576
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } // Add button to reverse all rows { Button button = new Button("Reverse All Rows", new ClickHandler() {
7677787980818283848586
Button button = new Button("Reverse All Rows", new ClickHandler() { public void onClick(ClickEvent event) { ScrollTableDemo.get().getDataTable().reverseRows(); } }); form.addButton(button); } return form; } }
6061626364656667686970
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } // Add button to remove a row { Button button = new Button("Remove Row", new ClickHandler() {
7879808182838485868788
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } // Cell selection final TextBox cellBox = new TextBox(); cellBox.setText("0");
104105106107108109110111112113114
} catch (IndexOutOfBoundsException e) { Window.alert("The row or column index you entered is out of bounds."); } } }); form.addButton(button); } // Add button to remove a cell { Button button = new Button("Remove Cell", new ClickHandler() {
122123124125126127128129130131132
8182838485868788899091