|
|
@@ -2,6 +2,7 @@ if (!URI_BASE) throw "Missing URI_BASE"; // => Request::getPathUri()
|
|
|
if (!URI_WPS) throw "Missing URI_WPS";
|
|
|
if (!global.jQuery) throw "Missing jQuery"
|
|
|
var $ = global.jQuery
|
|
|
+var RENDER_AS_REACT = Boolean(RENDER_AS_REACT) || false
|
|
|
var DBG = DBG || false;
|
|
|
var DBG1 = true;
|
|
|
|
|
|
@@ -1191,7 +1192,7 @@ var TableAjax = function() {
|
|
|
jQuery(window).on('resize', priv.onWindowResize)
|
|
|
}
|
|
|
priv.initialRender();// set up _uiNode$...
|
|
|
- // priv.initialReactRender(); // set up _reactUITableNode
|
|
|
+ if (RENDER_AS_REACT) priv.initialReactRender(); // set up _reactUITableNode
|
|
|
priv.options.types.string = ((priv.options.types || {}).string || {});
|
|
|
priv.options.types.number = ((priv.options.types || {}).number || {});
|
|
|
priv.options.types.bool = ((priv.options.types || {}).bool || {});
|