The following table has 3 columns and I want to create a tree tree diagram (it does not need to be graphically represented ). A table).
FIELD1 contains unique IDs and referee IDs reference IDs I want to map to REF ID with FIELD1 and then want to get the FIELD1 ID of the Mapping reference ID, and this income will be given to the end of the hierarchy going.
For example, if I get the first line data of FIELD1 (1), then I want to get the name from the name1 column where the number is in the referee ID. Then I will re-enter the referee ID to get the FIELD1 ID Should be mapped with.
Example: 1 ----> Its FIELD1 = 1 Andy of A1 has its FIELD1 = 12 billi its FIELD1 = 25
Then I will have to meet 12 times and find it in the referee ID column. Here's the method that I should only use javascript.
// FIELD1 name 1 referee id // 1 Al 1 // 2 Alan 7 // 3 Alan 21/4 Alan 0/5 Alex 4/6 Alfredo 4/7 Alvin 18/8 Andrea 20 // 9 Andrea 17 // 10 Andres 10 // 11 Andres 6 // 12 Andy 1 // 13 Andy 13/14 14 Agrinus 0/15 Barry 16/16 Ben 5 // 17 Bill 7/18 Bill 18/1 9 Bill 6/20 Bill 10/21 Bill 0/22 Bill 7/23 Billie 3/24 Billi 6/25 Billy Joe 1 // 26 Billy 6 // 27 Bip 1/28 Bo 10 // 2 9 Bob 1/30 bob 16/31 bob 4/32 bob 27/33 bob 6 // 34 bob 5/35 bobi 3 // 36 bobby 9/37 bobby 0/38 brett 4 // 39 brian 20 // 40 brook 17 // 41 Bruce 6 // 42 Bruce 8 // 43 Buddy 20 // 44 Buddy 2 // 45 Butch 7 // 46 kale 25/47 candy 18/48 carlton 14/49 caramel 9/50 carmen 8 // 51 carnis19552 cecil 12/53 charley 3/54 chet 12/55 chilly 13 // 56 chris 2 // 57 Chris 7 // 58 Chris 6/59 Cliff 0 // 60 Cory 24/61 Craig 6 // 62 Kurt 2 // 63 Kurt 0 // 64 Dell 29/65 Dell 7/66 Damaso 6/67 Dan 4 / 68 Charity 16/6 9 4 Day 4/70 Danny 5/71 Danny 25 // 72 Darrenl 20/73 Darlé 29/74 Darrell 12/75 Darren 8/16 Darryl 7/77 Darryl 27/78 Daryl 5/79 Dave 1/80 Dave 1/81 Dave 3/82 Dave 15/83 Dave 35/84 Dave 31/85 Dave 24/86 Dewi 7/87 Denny 13/88 Dick 13/89 Dickie 3/90 Don 31/91 Don 31/92 Don 13/39 Donny 4/94 Doug 0 // // Doug 26/96 Dwayne 9/9 97 Dwight 26/98 AD 2/99 AD 15/100 AD 17 // 101 ANOS 2 // 102 Eric 27 // 103 Earnest 9 // 104 Ernie 16 // 105 Floyd 8 // 106 franc 22/107 Franklin 23/108 Fred 23/109 Gary 2/110 Garth 3/111 Gary 24/112 Gary 34/113 Gary 21/114 Gary 5/115 Gary 11/116 Gary 5 // 117 George 31/118 George 16 // 119 George 14/120 120 George 14/121 Glen 4 // 122 Glen 31/123 Glen 4 // 124 Glen 15 // 125 Gorman 16 // 126 Greg 16 // 127 Greg 16 // 128 Greg 12 // 12 9 Greg 13/130 Hal 7/131 Harold 21/132 Harold 1 // 133 Harry 5/134 Harm 4/135 Howard RD 10 // 136 HUBBI 14/137 Jack 9 / 138 Jack 4/13 9 Jamie Jeff 8/140 2/141 6/142 Jeff Jeffrey 6 // 143 Jerry Jerry 5/144 5/145 5/156 Jerry Jerry / 4/147 Jesse 40 / / / 148 Gym 8/14 9 gyms 7/150 gyms 23
No comments:
Post a Comment