I have a HTML Table with just two columns.
` Order # Date
<tr>
<td>12345</td>
<td><input type="date" id="row1"></td>
</tr>
<tr>
<td>67890</td>
<td><input type="date" id="row2"></td>
</tr>
`
The right column is a Date that is respective to an Order #.
We may have several rows and it's possible that lots of consecutive rows will have the same Date.
What are some ideas on how to select 1 Date but apply it to multiple rows?
I thought about using checkboxes and one "multiple Date" Picker and then some kind of confirm button. But - I think this is kind of clunky and then adds more to code needed too.
Thanks!
https://datatables.net/extensions/autofill/examples/initialisation/fills.html is a way to do it. You can drag a value in the 'Start Date' column and apply it to other cells.
However, I'm not using DataTables for this particular Table.
https://jsfiddle.net/pqy8xev3/6/ is a proposed way to do it. However, as stated above, I'm not too keen on it. Especially as the number of rows grow.