aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/htmltableelement/deleterow
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/ja/web/api/htmltableelement/deleterow
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/ja/web/api/htmltableelement/deleterow')
-rw-r--r--files/ja/web/api/htmltableelement/deleterow/index.html40
1 files changed, 40 insertions, 0 deletions
diff --git a/files/ja/web/api/htmltableelement/deleterow/index.html b/files/ja/web/api/htmltableelement/deleterow/index.html
new file mode 100644
index 0000000000..3a00d42d4a
--- /dev/null
+++ b/files/ja/web/api/htmltableelement/deleterow/index.html
@@ -0,0 +1,40 @@
+---
+title: HTMLTableElement.deleteRow
+slug: Web/API/HTMLTableElement/deleteRow
+tags:
+ - DOM
+ - Gecko
+ - Gecko DOM Reference
+translation_of: Web/API/HTMLTableElement/deleteRow
+---
+<div>
+ {{ApiRef()}}</div>
+<h2 id="Summary" name="Summary">概要</h2>
+<p><strong>deleteRow</strong> は、テーブルから行を取り除きます。</p>
+<h2 id="Syntax" name="Syntax">構文</h2>
+<pre class="syntaxbox"><em>HTMLTableElement</em>.deleteRow(<em>index</em>)</pre>
+<h3 id="Return_Value" name="Return_Value">戻り値</h3>
+<p>無し</p>
+<h3 id="Parameters" name="Parameters">引数</h3>
+<dl>
+ <dt>
+ <code>index</code></dt>
+ <dd>
+ 削除対象行のインデックス( 0 を一行目とする行番号。整数で指定)<br>
+ 但し <code>-1</code> は最終行を削除する特別なインデックスとなります。<br>
+ <code>-1</code> 以外の負数は無効です。</dd>
+</dl>
+<h2 id="Example" name="Example">例</h2>
+<pre class="brush:js">mytable.deleteRow(1);
+// delete the second row</pre>
+<h2 id="Exceptions" name="Exceptions">例外</h2>
+<dl>
+ <dt>
+ <code>INDEX_SIZE_ERR</code></dt>
+ <dd>
+ 行数以上のインデックスを引数に指定した場合に、もしくは <code>-1</code> 以外の負数を指定した場合に、この例外がスローされます。</dd>
+</dl>
+<h2 id="Specification" name="Specification">仕様書</h2>
+<ul>
+ <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-13114938">deleteRow</a></li>
+</ul>