Sochettra / dynatree

Automatically exported from code.google.com/p/dynatree
0 stars 0 forks source link

checkbox won't switch to fully selected on pageload when all child are selected #207

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Try this treedata:

  var treeData = [
    {title: "Level 1", isFolder: true, 
  children: [
    {title: "Level 2", isFolder: true, 
    children: [
      {title: "Level 3.1", key: "c1" ,select: true},
      {title: "Level 3.2", key: "c2" ,select: true}
    ]
    },
  ]
 }
];

Every children is selected, so both level 2 and level 1 checkboxes should 
appear as fully selected.
They instead appear as partially selected.

If I uncheck "Level 3.1" then I check it again, level 1 and level 2 checkboxes 
become correctly fully selected.

Original issue reported on code.google.com by marcello...@gmail.com on 14 Jun 2011 at 8:47

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 14 Jun 2011 at 7:08

GoogleCodeExporter commented 8 years ago

Original comment by moo...@wwwendt.de on 26 Jan 2013 at 4:08