問題タブ [primeng-table]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
angular - これを使用してテーブルの列を非表示にしている場合、複数選択の PrimeNG で順序を維持する方法は?
マルチセレクト PrimeNG を使用して ptable の列を表示または非表示にしていますが、列を非表示にするのに問題なく動作していますが、それらを表示すると、テーブルの最後に追加されて追加されるため、マルチ選択と思われるテーブル列の順序が破壊されます表示または非表示にする列の配列を作成し、非表示でポップして配列に追加し直すため、最後に表示されます。
angular - why does the PrimeNg pSortableColumn has no click events for container items?
I have used the Primng Table component and used the pSortableColumn so that it raises the event to sort the table. Inside the TH I have a component which has the header text and an icon to denote that it is asc or desc order.
The problem is that it works when I click on the background of the TH but when I click on any element of my component it does not register the event.
The table component is housed in our own company search component but it works on the example website (which we use when developing component before sending to NPM.
But it seem that when I deploy to a real application its seems to behave differently.
I'm not sure if I am missing a reference but I have no warnings. Has anyone ever seen this behaviour before?
angular - バージョン 9.0.6 にない PrimeNG paginate メソッド
次の方法で、ページネーターを使用してテーブルを宣言します。
コードでは、PrimeNG コントロールの v4 を使用していたときに、次のような操作を行うことで、どのページが表示されていたかをリセットできました。
現在のバージョンでは、paginate メソッドは置き換えられずに削除されたようです。ページを手動で設定するにはどうすればよいですか?