Skip to content

Replies

0
[Infragistics]SGowdra
[Infragistics]SGowdra answered on Sep 22, 2010 9:29 PM

Hello Socrates, Thank you for sharing the sample. It looks like, this issue is caused due to the CssClass property applied to Price column under 'BoundDataField' and 'Header' element. Please update or remove the CssClass as shown below in order to get this working.

Hope this helps. Please let me know if you have any questions.

Sincerely,

Swetha

<

 

 

 

ig:BoundDataField DataFieldName="ProductPrice" Key="ProductPrice" DataFormatString="{0:c}" Hidden="False">

<Header Text="Price" />

</ig:BoundDataField>

0
[Infragistics]SGowdra
[Infragistics]SGowdra answered on Jul 21, 2009 4:31 PM

Hello yzbythesea, Here's one more way to get all the grid Values in javascript.

function copyGridValues() {
  var rows = ig.grid.instances.myForm_grid.elm.childNodes[0].childNodes[1].rows;
  var i=0;
    while(i<rows.length) {
    var rowsCells = rows[i].childNodes;
    alert(rowsCells[0].childNodes[0].data +
    " " + rowsCells[1].childNodes[0].data +
    " " + rowsCells[2].childNodes[0].data +
    " " + rowsCells[3].childNodes[0].data);
    i++;
    }
}

Thank you!
Swetha