Guest User

Untitled

a guest
Jan 12th, 2018
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  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. },
Add Comment
Please, Sign In to add comment