General Category > Bug Report

collapsible v2.0.2

(1/1)

SimonH:
When initialising a new grid with collapsible:false, a javascript error occurs around this block:
 if (key === "collapsible") {
  if (value === true) {this.$collapsible.css("display", "")
 } else {
  this.$collapsible.css("display", "none")
}

as this.$collapsible isn't defined.

paramvir:
collapsible: false can be used during initialization if it's not modified later on.

Example: http://paramquery.com/pro/demos/paging_local

But yes, it throws an error if the collapsible option is changed after grid's initialization with collapsible:false

The workaround in 2.0.2 is to keep collapsible: true during initialization if it needs to be modified later on.

Example: http://paramquery.com/pro/demos/grid_parts



(It's fixed in upcoming version)

Navigation

[0] Message Index

Go to full version