-
Notifications
You must be signed in to change notification settings - Fork 46
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
Initial Expand/Collapse Behavior #38
Comments
Hi @gemiur, you are welcome :) If you collapse the rows/columns initially using Please check the behavior in this example Let me know if this meets your expectations. |
Hi @nagarajanchinnasamy , Let's use your example to explain my situation. What I wish to achieve is if I set Hope this makes sense. Thanks. |
Hi @gemiur, Understood the issue now :). Will take it up as a defect. Thanks for your feedback. |
After further analysis, i realized that this may not be a defect. By default, the table is built with all rows and columns expanded so that user doesn't have to click at every level to get everything expanded. When Still thinking how your requirement can be met. |
Hi @nagarajanchinnasamy , Thanks for your reply. In that case, is it possible to have an |
Agree. An option to choose the initial behavior should help. Thanks for your feedback. |
After further thought, I chose to experiment with using |
Column Collapsing, Row collapsing and showing row subtotals at the bottom implemented. Please check latest v1-11.0 branch. Pending: Row expansion when displaying subtotals at the bottom. Am using examples/210_collapse_rowscols.html to test and debug. |
@gemiur and friends, Please check the latest version at v1-11.0 branch. I will merge this branch into master after your confirmation. Thanks :) |
* [#38] Initial Expand/Collapse Behavior * [#38, #12] Initial Expand/Collapse Behavior, Row subtotal at bottom * rowSubtotalDisplay.displayOnTop: true/false introduced * subtotal at bottom - row collapse implemented * bug fixes when using combinations of options * complete rewrite * code cleanup * code cleanup * code cleanup * code refactoring * code refactoring * Code refactoring * code re-factoring * code cleanup * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring * code refactoring
Hi Nagarajan , first of all many thanks for your great work on pivot table. I found it very useful but there is something I wish to achieve which is not yet supported currently, correct me if I am wrong. I wonder if we can set the default expand/collapse behavior in the first place. Right now when I expand a parent element, all levels of child elements will be expanded by default, making the tree unnecessarily long when one does not need to see all child elements. I would like to have this manually expanded.
Thanks.
Pang
The text was updated successfully, but these errors were encountered: