Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- addNewRow: function(){
- // Only want to add a row is the Grid validates. So this means I have to loop over ever row. Validate.
- dojo.forEach(this.dateScope._widgets, function(item,idx){
- // Two dijits in the item item["endDate"] and item["startDate"]
- });
- this.grid.store.newItem({id: this.index, seasonName: "", startDate: new Date(), endDate: new Date()});
- this.index++;
- },
Add Comment
Please, Sign In to add comment