

I agree that the checkboxes feel a little retro. For example, a check mark could be used to show if the row is selected and a row highlight could be used to show the currently focused row. In multiple selection, the visual clue for the currently focused row should be different from the selection status visual clue.Single selection and Multiple selection are mutually exclusive.Click: Toggle whether the current row (under the mouse cursor) is selected.For example, the Up key would bring into focus and select the next row up. Navigation auto selects the focused row and unselects all other rows.Shift-Click: Selects all rows from the row that was last selected to the current row (under click).If the row is already selected, unselect it. Click: Select clicked row if the row is unselected.Would be nice if spacebar also navigated down one row (often you are selecting multiple rows together). If the row is already selected, remove it from the selected. Spacebar: Add focused row to the selected list of rows if not selected.In my opinion, those should go to the next or previous component/control. Tab and Shift-Tab should NOT be used inside the table.Ctrl-Left: Pan left if scrolling enabled (future when horizontal scroll is implemented).Ctrl-Right: Pan right if scrolling enabled (future when horizontal scroll is implemented).This should be optional because sometimes going to the end of a dataset directly cannot be easily/quickly done.
#LIGHTTABLE HIGHLIGHT LINE FULL#
#LIGHTTABLE HIGHLIGHT LINE FOR MAC#
In my experience, the following work bests (with slight changes for Mac like Cmd-A selects all in multiple selection). Would PRs implementing something like this be accepted? I don’t really have a ton of time to focus on this right now but perhaps with a little guidance on implementation strategy me or someone else could take a stab at this. I’ve built something like this before with angular and it wasn’t too bad to implement (but I wasn’t working with a general purpose table widget so I could use more hacks and dirty tricks that would be acceptable for a large project).
