S
S
Sergey Nikolaev2015-11-30 12:40:31
css
Sergey Nikolaev, 2015-11-30 12:40:31

How to set the context menu for a as for TR?

In Angular there is a table with
<tr ui-sref="link({params:param})"></tr>
when you click the link opens as it should. But there is no context menu specific to a href.
So how do you set the context menu for tr as for a href? (Open, Open in new tab, etc.)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2015-11-30
@Devastor

This is not a link, and never has been.
ui-sref is a simple directive that assigns a handler to the click event.
// EDIT
So do table > tbody > a > td.
And give this "a" "display: table-row".

M
Murat Atila, 2015-11-30
@TheExplay

And why can't you just put a link with the same link in "tr"?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question