error with mendix Data grid Extension widget

1
Trying to integrate the Data Grid Extension widget but get the error below when trying to use inline buttons. error in create widget:self.grid.liveConnect is not a function Anyone got any ideas?
asked
2 answers
5

Update: I have fixed this issue for the DataGridExtension widget locally. In the InlineButtons.js file, strip the part with self.grid.liveConnect and add after the line 

else {
 dataContainer.appendChild(button.domNode);
}

the extra JavaScript code:

// 20171017 Ivo Sturm: very strange, button.domNode does not work, even though it gives back same result as below actionButton
var actionButton = document.getElementById(button.id);
// add event listener directly to a DOM Node
on(actionButton, 'click', lang.hitch(self,function (e) {
	self.onclickEventInline(e);
}));

Also add in the define part of this file the dojo/on library, like this:

define([
    "dojo/_base/declare",
    "mxui/widget/_WidgetBase",
    "dojo/aspect",
    "dojo/_base/lang",
    "dojo/dom-class",
    "dojo/query",
    "dijit/registry",
	"dojo/on"
], function(declare, _WidgetBase, aspect, lang, dojoClass, query, registry,on) {

 

answered
1

DataGridExtension is not supported anymore.

Starting with Mendix 7.3 you have to look for alternatives since internal API needed by the widget is no longer available.

answered