ValYouW/jqPropertyGrid

Hide others group

Opened this issue · 0 comments

If you dont wanna show items those aren't identified in the your template, just add another condition to line 100 like this:

if (propertyRowsHTML[OTHER_GROUP_NAME] && options.showOthers && options.showOthers === true) {
	innerHTML += getGroupHeaderRowHtml(OTHER_GROUP_NAME, options.isCollapsible);
	innerHTML += propertyRowsHTML[OTHER_GROUP_NAME];
}

and add showOthers: true/false to your calling options.