daily pastebin goal
4%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 53 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
Top