Hi, I've noticed that my component which extends CanvasItem and it has a canFilter: false;
canvas will appear in [0,0] coordinates of filter.
You can try to add a field for example like this into ListGrid with filter:
so i cannot disable filtering for these columns (I've added new type and registered new editorType).
Bug is in CanvasItem.placeCanvas():
where is no "_spacerParent" item when rendered with canFilter:false; so it places to [0,0].
tested with latest versions.
canvas will appear in [0,0] coordinates of filter.
You can try to add a field for example like this into ListGrid with filter:
Code:
{
title: "Date time",
name: "datetime",
length: 50,
type: "date",
canFilter: false,
filterEditorProperties: {
editorType: "DateRangeItem"
}
},Bug is in CanvasItem.placeCanvas():
Code:
var containerHandle = containerWidget.getHandle(),
spacerParent = isc.Element.get(this.getID() + "_spacerParent");
if (isc.Browser.isIE && !isc.Browser.isStrict && isc.Browser.version >= 9) {
spacerParent = spacerParent && spacerParent.firstChild;
}
var spacerOffsets = spacerParent ? isc.Element.getOffsets(spacerParent, containerHandle) : [0,0],
left = spacerOffsets[isc.Canvas.LEFT] + containerWidget.getScrollLeft(),
top = spacerOffsets[isc.Canvas.TOP] + containerWidget.getScrollTop();tested with latest versions.