:: Forum >>

Grid On Tab, Alex please

Alex,

Can you or someone please provide a Grid on Tabs example?

The following code, one of AW example, did not work.

var page1 = [group1, label1, label2, label3, input1, button1, button2, button3,
group2, label4, label5, button4, button5, button6,
group3, label6, label7, label8, input2, button7,
button8, button9, button10, button11];

var page2 = [myGrid] ; shows on all tabs.

Running on: Windows XP, AW 2.0 Standard Edition, IE 6

Thank you.



wkim
Saturday, May 27, 2006
Not sure what is wrong in your code - modified 'dialog.htm' should look like this -

...

    var grid = new AW.UI.Grid;
    grid.setSize(350, 300);
    grid.setPosition(20, 50);
    grid.setCellText("cell");
    grid.setHeaderText("header");
    grid.setColumnCount(10);
    grid.setRowCount(10);

    var page2 = [grid];

    var page3 = ["not implemented"];

    var pages = [page1, page2, page3, page3, page3, page3, page3];

    ...
Alex (ActiveWidgets)
Monday, May 29, 2006

This topic is archived.


Back to support forum

Forum search