念のため、誰にとっても役立つ可能性があります。何らかの理由で、コンポーネントによって作成されたテーブル内のすべてのオブジェクトに「位置: 相対」属性があることがわかりました。削除すると、テーブルは正常に動作します。
したがって、この属性を削除するためにこのコードを書きました。Infragistics で作成したテーブルの名前をコピーして貼り付けたので、変更します (または、より良い方法を見つけて取得します ^^)
function removeRelativePosition(item) {
var elt;
if(item == '') {
elt = document.getElementById('ctl00xmasterContentPlaceHolderxwPanReportsxuwGridReport_main');
}
else {
elt = item;
}
//Call this function recursively on every child
if(elt.childNodes !== undefined) {
for(var i=0;i< elt.childNodes.length; i++) {
removeRelativePosition(elt.childNodes[i]);
}
}
//Then remove the attribute
if(elt.style !== undefined) {
elt.style.position = '';
}
}
//Run this function when your page is ready
$(document).ready(function() {
removeRelativePosition('');
});