Skip to content

Commit

Permalink
[] (0) Minor fixes to the datagrid section.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.whatwg.org/webapps@1949 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Jul 28, 2008
1 parent b4e9367 commit cb93d4d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
19 changes: 8 additions & 11 deletions index
Expand Up @@ -27908,7 +27908,7 @@ https://www.google.com/base/settings
that apply to that cell. If the method is not defined, no classes apply
to the cell.

<dt id=cellType1>To establish how the type of a cell
<dt id=cellType1>To establish the type of a cell

<dd>Examine the classes that apply to the cell. If the <code
title=datagrid-cell-class-progress><a
Expand Down Expand Up @@ -28124,12 +28124,11 @@ https://www.google.com/base/settings
href="#cyclecell">cycleCell()</a></code> method, with a <code><a
href="#rowspecification">RowSpecification</a></code> object representing
the cell's row as the first argument and the cell's column index as the
second. The <code><a href="#datagrid0">datagrid</a></code> must act as if
the <code><a href="#datagrid0">datagrid</a></code>'s <code
second. The <code><a href="#datagrid0">datagrid</a></code> must then act
as if the <code><a href="#datagrid0">datagrid</a></code>'s <code
title=dom-datagrid-updateCellChanged><a
href="#updatecellchanged">updateCellChanged()</a></code> method had been
invoked with those same arguments immediately before the provider's method
was invoked.
invoked with those same arguments.

<p>When a cell <a href="#cellType2">has a checkbox</a>, the user must be
able to set the checkbox's state. When the user changes the state of a
Expand All @@ -28145,12 +28144,11 @@ https://www.google.com/base/settings
must be possible only if the cell has the <code
title=datagrid-cell-class-indeterminate><a
href="#indeterminate">indeterminate</a></code> class set). The <code><a
href="#datagrid0">datagrid</a></code> must act as if the <code><a
href="#datagrid0">datagrid</a></code> must then act as if the <code><a
href="#datagrid0">datagrid</a></code>'s <code
title=dom-datagrid-updateCellChanged><a
href="#updatecellchanged">updateCellChanged()</a></code> method had been
invoked, specifying the same cell, immediately before the provider's
method was invoked.
invoked, specifying the same cell.

<p>If a cell <a href="#cellType2">is editable</a>, the user must be able to
edit the data for that cell, and doing so must cause the user agent to
Expand All @@ -28159,11 +28157,10 @@ https://www.google.com/base/settings
three arguments: a <code><a
href="#rowspecification">RowSpecification</a></code> object representing
the cell's row, the cell's column's index, and the new text entered by the
user. The user agent must act as if the <code
user. The user agent must then act as if the <code
title=dom-datagrid-updateCellChanged><a
href="#updatecellchanged">updateCellChanged()</a></code> method had been
invoked, with the same row and column specified, immediately before the
provider's method was invoked.</p>
invoked, with the same row and column specified.</p>
<!-- XXXPA <p class="big-issue">define actions (performAction(), etc)</p> -->

<h5 id=the-selection><span class=secno>4.11.2.8. </span>The selection</h5>
Expand Down
17 changes: 7 additions & 10 deletions source
Expand Up @@ -25265,7 +25265,7 @@ https://www.google.com/base/settings
that apply to that cell. If the method is not defined, no classes
apply to the cell.</dd>

<dt id="cellType1">To establish how the type of a cell</dt>
<dt id="cellType1">To establish the type of a cell</dt>

<dd>Examine the classes that apply to the cell. If the <code
title="datagrid-cell-class-progress">progress</code> class applies
Expand Down Expand Up @@ -25480,11 +25480,10 @@ https://www.google.com/base/settings
title="dom-provider-cycleCell">cycleCell()</code> method, with a
<code>RowSpecification</code> object representing the cell's row as
the first argument and the cell's column index as the second. The
<code>datagrid</code> must act as if the <code>datagrid</code>'s
<code>datagrid</code> must then act as if the <code>datagrid</code>'s
<code
title="dom-datagrid-updateCellChanged">updateCellChanged()</code>
method had been invoked with those same arguments immediately before
the provider's method was invoked.</p>
method had been invoked with those same arguments.</p>

<p>When a cell <a href="#cellType2">has a checkbox</a>, the user
must be able to set the checkbox's state. When the user changes the
Expand All @@ -25498,23 +25497,21 @@ https://www.google.com/base/settings
new state is unchecked, and &#x2212;1 if the new state is
indeterminate (which must be possible only if the cell has the <code
title="datagrid-cell-class-indeterminate">indeterminate</code> class
set). The <code>datagrid</code> must act as if the
set). The <code>datagrid</code> must then act as if the
<code>datagrid</code>'s <code
title="dom-datagrid-updateCellChanged">updateCellChanged()</code>
method had been invoked, specifying the same cell, immediately
before the provider's method was invoked.</p>
method had been invoked, specifying the same cell.</p>

<p>If a cell <a href="#cellType2">is editable</a>, the user must be
able to edit the data for that cell, and doing so must cause the
user agent to invoke the <code
title="dom-provider-editCell">editCell()</code> method of the data
provider with three arguments: a <code>RowSpecification</code>
object representing the cell's row, the cell's column's index, and
the new text entered by the user. The user agent must act as if the
the new text entered by the user. The user agent must then act as if the
<code
title="dom-datagrid-updateCellChanged">updateCellChanged()</code>
method had been invoked, with the same row and column specified,
immediately before the provider's method was invoked.</p>
method had been invoked, with the same row and column specified.</p>

<!-- XXXPA <p class="big-issue">define actions (performAction(), etc)</p> -->

Expand Down

0 comments on commit cb93d4d

Please sign in to comment.