-
Notifications
You must be signed in to change notification settings - Fork 295
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The Laboratory Sample Code doesn't Produce a Tree #1335
Comments
Any update on this? Also, what/where is TreeStoreMixin? |
TreeStoreMixin maps to 'dstore/Tree'. We got this working by using .getRootCollection() on our store. Source: https://github.com/adpatter/dojo-widget-examples/blob/master/KeyRequestApp.js `var ReportingEmployeeTreeGrid = declare([ dgridOnDemandGrid, dgridTree, dgridDijitRegistry, dgridColumnResizer ]); var ReportingEmployeeTreeGridStore = declare([ dstoreMemory, dstoreTrackable, dstoreTree ]); var tree = new ReportingEmployeeTreeGrid( |
Thank you very much for the clarification Adam. I found a similar issue answered on Stack Overflow: https://stackoverflow.com/questions/40557343/dgrid-tree-rendering-flat-at-first I was just confused about what TreeStoreMixin was and several people seemed to be complaining about the lab code generation which has still not been addressed apparently. |
Laboratory * fix tree usage and generated code * update formatter for dgrid 1.3.0 * remove unused code Tree: improve documentation about dstore/Tree and data format Fixes #1335
The code sample mentioned in the laboratory when Grid, OnDemandGrid, and Tree are selected, doesn't result in a tree structure.
Source: http://dgrid.io/js/dgrid/demos/laboratory/
The text was updated successfully, but these errors were encountered: