<p dir="auto">Bug fixes to <code class="notranslate">Table</code> and <code class="notranslate">TableBody</code> components.</p>
<p dir="auto">I have made some bug fixes to <code class="notranslate">v0.20.0</code>, how can I submit them as a PR? There's no base branch for that version.</p>
<p dir="auto"><a href="https://github.com/mui-org/material-ui/compare/mui-org:v0.20.0...gknapp:table-select-row-fix">See the code changes</a>.</p>


<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<h2 dir="auto">Expected Behavior</h2>

<p dir="auto">Two behaviours I observed, and provided fixes for:</p>
<ul dir="auto">
<li>Selecting all rows then de-selecting any row, de-selected all rows. Changed so all other rows remain checked (<a href="https://github.com/gknapp/material-ui/commit/9cdd915aa8102a4b589797bd21fdacaf5016dce0">9cdd915</a>)</li>
<li>Selecting all rows via the body (not using select all checkbox in header), would not automatically check the 'select all' checkbox when all child rows were selected. Changed so 'select all' checkbox is now checked when all child rows are selected (<a href="https://github.com/gknapp/material-ui/commit/c0068784051a42927e712cfc2880fd2b2f43298f">c006878</a>). <em>I'm not sure if my approach is the best way to address this, as I've added an optional parameter to <code class="notranslate">onRowSelection()</code>, parameters are not documented (see <a href="http://www.material-ui.com/#/components/table" rel="nofollow">table docs</a>).</em></li>
</ul>
<h2 dir="auto">Current Behavior</h2>
<p dir="auto">Described above</p>
<h2 dir="auto">Steps to Reproduce (for bugs)</h2>
<p dir="auto">Described above</p>
<h2 dir="auto">Context</h2>
<p dir="auto">I noticed these issues when implementing a table view in my UI and needing to use the check boxes for a multi-delete feature.</p>
<h2 dir="auto">Your Environment</h2>

<table role="table">
<thead>
<tr>
<th>Tech</th>
<th>Version</th>
</tr>
</thead>
<tbody>
<tr>
<td>Material-UI</td>
<td>v0.20.0</td>
</tr>
<tr>
<td>React</td>
<td>15.6.2</td>
</tr>
<tr>
<td>browser</td>
<td>Chrome 63.0.3239.132</td>
</tr>
<tr>
<td>OS</td>
<td>Windows 10 (64-bit)</td>
</tr>
</tbody>
</table>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/callemall/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li>
</ul>
<p dir="auto">As the title says, adding <code class="notranslate">align-self</code> rule to <code class="notranslate">Grid</code> component like <code class="notranslate">&lt;Grid item={true} alignSelf={'flex-end'} /&gt;</code> would be great =&gt; <a href="https://css-tricks.com/almanac/properties/a/align-self/" rel="nofollow">https://css-tricks.com/almanac/properties/a/align-self/</a></p>