daily pastebin goal


a guest Jan 12th, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. addNewRow: function(){
  2.         // Only want to add a row is the Grid validates. So this means I have to loop over ever row. Validate.
  3.         dojo.forEach(this.dateScope._widgets, function(item,idx){
  4.             // Two dijits in the item item["endDate"] and item["startDate"]
  5.         });
  6.         this.grid.store.newItem({id: this.index, seasonName: "", startDate: new Date(), endDate: new Date()});
  7.         this.index++;
  8.     },
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand