SHARE
TWEET

Untitled

a guest Oct 10th, 2019 81 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. //{formula`SUM(C${i}:D${i})`} it can we written as this.
  2. let data = [{
  3.         department : 'CSE', student_details : [{
  4.             student_name : 'A 1', roll_number : 1, marks_1 : 80, marks_2 : 70, marks_total : {formula : `SUM(C2:D2)`}
  5.         },
  6.         {
  7.             student_name : 'B 1', roll_number : 2, marks_1 : 99, marks_2 : 90, marks_total : {formula : `SUM(C3:D3)`}
  8.         }]
  9.     },
  10.     {
  11.         department : 'ME', student_details : [{
  12.             student_name : 'A 2', roll_number : 1, marks_1 : 78, marks_2 : 87, marks_total : {formula : `SUM(C2:D2)`}
  13.         },
  14.         {
  15.             student_name : 'B 2', roll_number : 1, marks_1 : 79, marks_2 : 89, marks_total : {formula : `SUM(C3:D3)`}
  16.         }]
  17.     }];
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top