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.
テーブルを動的に作成しています。
次に、データベースからテーブルにデータを追加します。
テーブルのすべての行にボタンを作成します。
ここまでは正常に動作します。
ユーザーがそのボタンをクリックすると、ボタンがクリックされたすぐ下のテーブルに新しい行を追加したいと思います。つまり、既存の行の間に新しい行を挿入したいということです。
何か案は?
tbl.rows.addAt(Position)
ここで、Positoion は、新しい行を挿入する場所の値を保持する変数です。