Results 1 to 1 of 1
  1. #1

    StaticGrid updates: get old/new values

    when using this code, the event is raised after a cell update, but I don't know what were the values just before the update, info.getCellValue("foo") and info.getChangedFieldValue("foo") are the same
    var grid = new StaticGrid("stocks",true);
              onVisualUpdate: function(key,info,pos) {
                if (info == null) {
                console.log(info.getCellValue("foo")+" ... "+info.getChangedFieldValue("foo"));
                info.setAttribute("yellow", "white", "backgroundColor");
    ---- solved
    Last edited by darch; March 14th, 2013 at 04:00 PM.



Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT +1. The time now is 08:50 AM.