Topic: Listgrid display Build 4.0
MadMax wrote on Friday 6/19/09 at 10:19 AM (PST)
Hi
I currently getting the columns and rows by using a function. I am not able to change the title of the tables.



  function addCol(){      
       elm1.beginUpdate();
       var col = {}
           elm1.addCol("Table1");
        elm1.addCol("Table2");
        elm1.data.cols[1].text
        elm1.addRow(col);
        elm1.addRow(col);
        elm1.addRow(col);
        elm1.addRow(col);
      elm1.endUpdate();
      elm1.refresh();
    };


thanks
Max
Darin Kadrioski wrote on Friday 6/19/09 at 10:50 AM (PST)
This line:
elm1.data.cols[1].text


... did you mean for that to actually change the text?

elm1.data.cols[1].text = "Loren Ipsum";


Should work fine.