JSFiddle - React, Tailwind, and code Playground
by Guruprasad Gopalkrishna
JavaScript
var territory =[
{
"id" : 100583,
"name" : "East China",
"hasChildren" : "Y",
"members" : {
"territoryResource" : [
{
"resource" : {
"firstName" : "Zhen",
"nickName" : "David",
"lastName" : "Huang"
}
}
]
},
"typeCode" : "PRIME",
"createdDate" : "2014-07-09T07:34:50+0000",
"endDate" : "2999-12-31T23:59:59+0000",
"modifiedBy" : "1926899621",
"geoLevel" : "DISTRICT",
"createdBy" : "BULK_UPLOAD",
"modifiedDate" : "2014-10-23T09:42:49+0000",
"startDate" : "1900-01-01T00:00:00+0000",
"parentName" : "Greater China",
"parentId" : 100581
},
{
"id" : 100592,
"name" : "East China 1",
"hasChildren" : "N",
"members" : {
"territoryResource" : [
{
"resource" : {
"firstName" : "Dong",
"nickName" : "Eking",
"lastName" : "Wu"
}
}
]
},
"typeCode" : "PRIME",
"createdDate" : "2014-07-09T07:34:50+0000",
"endDate" : "2999-12-31T23:59:59+0000",
"modifiedBy" : "1169698574",
"geoLevel" : "REGION",
"createdBy" : "BULK_UPLOAD",
"modifiedDate" : "2014-09-17T12:56:30+0000",
"startDate" : "1900-01-01T00:00:00+0000",
"parentName" : "East China",
"parentId" : 100583
},
{
"id" : 100593,
"name" : "East China 2",
"hasChildren" : "N",
"members" : {
"territoryResource" : [
{
"resource" : {
"firstName" : "Yongzhi",
"nickName" : "James",
"lastName" : "Fang"
}
}
]
},
"typeCode" : "PRIME",
"createdDate" : "2014-07-09T07:34:50+0000",
"endDate" : "2999-12-31T23:59:59+0000",
"modifiedBy"...