作成日: 2023/08/08 最終更新日: 2024/03/25
文書種別
制限事項
発生環境
Angularモジュール、Vueモジュール、Reactモジュール、Web Componentsモジュールで発生
状況
修正済み
詳細
列コンポーネントを利用した場合、次の警告が表示されます。
| [Deprecation] Listener added for a synchronous 'DOMNodeInserted' DOM Mutation Event. This event type is deprecated (https://w3c.github.io/uievents/#legacy-event-types) and work is underway to remove it from this browser. Usage of this event listener will cause performance issues today, and represents a risk of future incompatibility. Consider using MutationObserver instead. |
回避方法
この制限事項はバージョン5.20232.939で機能改善されました。
修正版を適用しない場合の回避方法は次の通りです。
initializeメソッドで列を設定します。
flexInitialized: function (flexgrid) {
//initializeメソッドで列を設定します
flexgrid.initialize({
columns: [
{
binding: "country",
header: "国",
width: "2*",
},
{
binding: "sales",
header: "売上",
format: "n2",
width: "*",
},
{
binding: "expenses",
header: "費用",
format: "n2",
width: "*",
},
],