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
130
ui.row undefined after updating to Vol 2
posted

Hello!

This morning I updated to NetAdvantage Vol 2. After doing so my grid event args do not seem to be working. I'm hoping I have overlooked something but my research has not helped.

I have this simple event. alert(ui.update) returns true/false as expected. alert(ui.row) returns "undefined".

$("#mprGrid").live("iggridupdatingeditrowended", function(event, ui) {

       //alert(ui.update);

        alert(ui.row); 

    });

 

Any ideas?

Thank you!

Parents
No Data
Reply
  • 24497
    Verified Answer
    posted

    Hi,

    Some aspects of functionality and public interface in the igGridUpdating were modified in version 11.2. Currently event arguments in editRowEnded event contain following members:

    Use ui.owner to get reference to igGridUpdating.
    Use ui.owner.grid to get reference to igGrid.
    Use ui.rowID to get key or index of row.
    Use ui.update to check if value of any cell was modified and data source will be updated.
    Use ui.rowAdding to check if that event is raised while new-row-adding.
    Use ui.values[key] to get value of cell in column with the key.
    Use ui.oldValues[key] to get old value of cell in column with the key.

Children