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
210
Grid cell value and cell Ig Editor (datetime) no same value?
posted

Hi,

I have a trouble when update grid cell.

I created an IgDateEditor outside of Grid which can reference and update value of grid cell through following method:

 $('#grid').igGridUpdating('setCellValue', rowKey, colKey, value)

example, I input new value is: "2117年01月01日" (japanese date time)

and old value of grid cell: "2016年06月06日"


I checked value of this grid cell (was edited) and it has new value, event `editcellstarting` when I double click on this cell:

$(document).delegate('#grid', "iggridupdatingeditcellstarting", function(evt, ui) {

  ui.value; // "2117年01月01日"

});

But, value display in Ig Editor (It can be edited)  is old value ("2016年06月06日")

And only date time Japanese has this problem, any other fields are No.

Where did I do wrong?

Parents
No Data
Reply
  • 5513
    Offline posted

    Hello,

    Thank you for using Infragistics forums!

    When you are calling $('#grid').igGridUpdating('setCellValue', rowKey, colKey, value) where does "value" come from? Are you by any chance getting the text from the external date editor or at a time before its value is updated? A more complete look at your update functions may give us an idea what the underlying cause is.

    I am looking forward to hearing from you!

    Best regards,

    Stamen Stoychev

Children
No Data