Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3790
latest download causes errors in setCellValue
posted

See the following

my column name is _ so "_"  The getCellText command returns the text so we know there is no issues reading from a table at this location. Then the setCellValue command thinks the row was deleted and its clearly not. The code is halted at that point.

alert( this.gridIDMap.getCellText( rows, "_") ); //returns the text as it shows on th etable
alert( this.igGridUpdating.setCellValue( rows, "_", "test" ) );// Error: In order to support update operations after a row was deleted, application should define "primaryKey" in options of igGrid.
alert( 1 );// does nto make it to this point

setting primaryKey to "_" gives me can not convert to null opbject

also get this error on edit cell.

-----------------------------

so I found a hack

 this.gridIDMap.cellAt( 0, rows ).innerHTML = ...

but this does not fix the edit mode

Parents
  • 23953
    Offline posted

    Hello Seang,

    This is a regression in the igGridUpdating.setCellValue API method which appeared in 12.2.2086 service release. I've logged an internal bug with number 144383. 

    You'll be notified by e-mail when the bug is fixed.

    Thank you for pointing that out for us,
    Martin Pavlov
    Infragistics, Inc. 

Reply Children