From 887413422108ea739996d2cac12b669f2e2477bb Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 30 Mar 2012 12:17:52 +0000 Subject: [PATCH] setting subgrid callback and disabling use of regular data (only callback) --- etemplate/js/et2_extension_nextmatch.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/etemplate/js/et2_extension_nextmatch.js b/etemplate/js/et2_extension_nextmatch.js index ed574ae205..083a06a589 100644 --- a/etemplate/js/et2_extension_nextmatch.js +++ b/etemplate/js/et2_extension_nextmatch.js @@ -498,8 +498,7 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, { // Create the nextmatch row provider this.rowProvider = new et2_nextmatch_rowProvider( - this.dataview.rowProvider, this.options.settings.actionLinks, - this.options.settings.actions); + this.dataview.rowProvider, this._getSubgrid, this); // Register handler to update preferences when column properties are changed var self = this; @@ -557,9 +556,9 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, { ); // Load the initial order - this.controller.loadInitialOrder(this._getInitialOrder( + /*this.controller.loadInitialOrder(this._getInitialOrder( this.options.settings.rows, this.options.settings.row_id - )); + ));*/ this.controller.setFilters(this.activeFilters); },