Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
滑らかなグリッドヘッダーにフィルターがあります。setColumns関数を使用して列を非表示にすると、ヘッダー行がめちゃくちゃになります。フィルタは互いに重なり合っています。助言がありますか?
自分で解決策を見つけました。
関数setColumnsは表示を再初期化し、追加のヘッダー行が上に追加されています。したがって、列を設定する前に、既存のヘッダー行を削除する必要があります。
setColumnsを呼び出す前に、次の行を記述しました。
$('.slick-headerrow-column').remove();