DomAPI Home
DomAPI
Build: 4.0
Topic: Listgrid display

  MadMax not registered 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

 
    RSS feed of forum  
  Darin Kadrioski registered v4 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.

 
    RSS feed of forum  
You could respond to this post if you were logged in.
DHTML by www.domapi.com