After initialization, Gridyou must bind the handler to the click event.
Example:
$("#grid").on("click", "table", function(e) {
console.log("clicked", e.ctrlKey, e.altKey, e.shiftKey);
});
You can use:
e.ctrlKeyto detect depression ctrl.e.altKeyto detect depression alt.e.shiftKeyto detect depression shift.
, "table" "tbody" "td".
Jsfiddle.