English 中文(简体)
Do树:亲子关系/子女关系
原标题:Dojo Tree: inverse parent/child relations
  • 时间:2011-10-03 17:44:15
  •  标签:
  • dojo

我正在利用RESTful Json服务,利用Dojo工具包填补我的树木数据模型。

我在文件中指出,有办法利用父母/子女关系调查,即使用儿童。 父母 父母,而不是父母。 父母子女。 此外,在新的节点上(模式新项目,随后在仓库中储蓄) 我只想看一门有新噪音数据的REST POST问话和一位父母的id。

What should I do with my Tree, TreeStoreModel or JsonRestStore to enable such behavior? Thanks!

最佳回答

你正在研究哪些文件? 它本应该解释一下已经做些什么。

tree树模型必须采用getChildren方法。 为了使用关系代表制,你需要做的是超越这一方法。 你不需要与树木和JSONStore做任何事。

这有助于:rel=“nofollow”http://dojo-toolkit.33424.n3.nabble.com/dijit-tree-Model-in-relational-model-format-td3248820.html

问题回答

暂无回答




相关问题
Get Dojo Radio Button Value?

I have an HTML form using dojo and have the following code for a radio button selection choice: dojo.require("dijit.form.RadioButton"); <link href="http://ajax.googleapis.com/ajax/libs/dojo/1....

is it possible to know if a dijit is displayed or not?

i have two divs on a page. each has several dijits. i have atoggle that shows only one div or the other. when i submit the form, i only want to validate the dijits that are in the div that is ...

dijit BorderContainer auto-grow

Is there a way to have a dijit.layout.BorderContainer auto-grow in height? I ve tried setting min-height: 200px; height: auto;, but it won t scale. I ve tried looking at the API, but that thing is a ...

Dojo Tabs as Custom Widgets

I ve created a number of widgets that are loaded as tab panes in a tabcontainer. Everything seems to work well, except I m getting different results when using my custom widgets vs. creating ...

What happened to Dojo DOH?

The Dojo Toolkit used to come with a testing facility called "Doh". It was in the /utils directory. Now when you download dojo-release-1.3.2 the /utils directory is nowhere to be found. Is Doh dead ...

热门标签