How to create a Dynamic table in lwuit
TableModel model = new DefaultTableModel(
new String[]{"A", "B", "Call Avg"},
new Object[][]{
{"0", "50", "0.00"},
{"0", " " + "2", "0.00"},
{"0", "52", "0.00"},})
{
public boolean isCellEditable(int row, int col) {
return col != 0 ;
}
};
Table table = new Table(model);
This is for static . I want to create dynamically number of rows and columns .. Plz help
See this sample code. I have created dynamic table with LWUIT using this code.