dijit.Treeでシングルセレクトにする方法

tree.dndController.singular = true;

これが正しいかは、ちょっと怪しいが、自分でも試したら動いた。

dojo - How to disable multiple selection of nodes in dijit.Tree? - Stack Overflow

var tree = new dijit.Tree({
    id: "tree1",
    model: model
}).placeAt(win.body());

tree.dndController.singular = true;

最終更新:2014/11/07 11:06
  • このエントリーをはてなブックマークに追加
  • Clip to Evernote
  • Share on Tumblr
  • Delicious

この記事に含まれるキーワード:


サイト内検索

このサイトについて

このサイトは、開発に役立つメモを公開しています。
詳しくは、こちら=>

このサイトのRSSはこちら=>

Twitter

楽天