Skip to content

Performance improvements for initIndent.#12

Closed
joeblubaugh wants to merge 1 commit intomaxazan:masterfrom
joeblubaugh:master
Closed

Performance improvements for initIndent.#12
joeblubaugh wants to merge 1 commit intomaxazan:masterfrom
joeblubaugh:master

Conversation

@joeblubaugh
Copy link

Saves about 20% wall clock time when initializing large tables.

Saves about 20% wall clock time when initializing large tables.
@otisg
Copy link

otisg commented Dec 10, 2014

Would this help with #11 / #18?

@Blood-dm
Copy link

Blood-dm commented Feb 2, 2015

This breaks deeper indents above 2 levels. The following code works though:

var expander = $this.find('.treegrid-expander');
var depth = $this.treegrid('getDepth');
for (var i = 0; i < depth; i++) {
    $($this.treegrid('getSetting', 'indentTemplate')).insertBefore(expander);
}

@maxazan
Copy link
Owner

maxazan commented Feb 3, 2015

Thank you for your help. Try new release of plugin.
http://maxazan.github.io/jquery-treegrid/examples/example-huge.html

@maxazan maxazan closed this Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments